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