From 8b0d0e8dbd6a1cd3e0a8ea91d8a5ff9054728c3d Mon Sep 17 00:00:00 2001 From: viet nguyen Date: Fri, 22 Sep 2023 12:41:05 -0700 Subject: [PATCH] add missing file --- src/js/setupTests.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/js/setupTests.ts 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