Files
unicorn-utterances/__mocks__/jest.setup.js
Corbin Crutchley 6e52c81f4b chore: fix tests
2021-12-26 17:33:21 -08:00

24 lines
519 B
JavaScript

// Optional: configure or set up a testing framework before each test.
// If you delete this file, remove `setupFilesAfterEnv` from `jest.config.js`
// Used for __tests__/testing-library.js
// Learn more: https://github.com/testing-library/jest-dom
require("@testing-library/jest-dom/extend-expect");
require("./modules");
global.IntersectionObserver = class IntersectionObserver {
constructor() {}
observe() {
return null;
}
disconnect() {
return null;
}
unobserve() {
return null;
}
};