We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988abbd commit 5c204a6Copy full SHA for 5c204a6
jest-setup.ts
@@ -1,7 +1,7 @@
1
-require('@testing-library/jest-dom');
+import '@testing-library/jest-dom';
2
3
// Mock ResizeObserver for tests
4
-global.ResizeObserver = jest.fn().mockImplementation(() => ({
+(global as any).ResizeObserver = jest.fn().mockImplementation(() => ({
5
observe: jest.fn(),
6
unobserve: jest.fn(),
7
disconnect: jest.fn(),
0 commit comments