From 5601e296dd632a66ce22a2980338c16a2cce6644 Mon Sep 17 00:00:00 2001 From: viet nguyen Date: Sun, 24 Sep 2023 18:05:59 -0700 Subject: [PATCH] add missing file --- src/js/setupTests.ts | 3 +++ 1 file changed, 3 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..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