diff --git a/src/js/setupTests.ts b/src/js/setupTests.ts new file mode 100644 index 000000000..f66299b97 --- /dev/null +++ b/src/js/setupTests.ts @@ -0,0 +1,4 @@ +import * as ResizeObserverModule from 'resize-observer-polyfill' +import '@testing-library/jest-dom' + +(global as any).ResizeObserver = ResizeObserverModule.default