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 207fcdfCopy full SHA for 207fcdf
jest-setup.ts
@@ -1,4 +1,7 @@
1
-require('@testing-library/jest-dom');
+import '@testing-library/jest-dom';
2
+
3
+// Declare global for TypeScript
4
+declare const global: any;
5
6
// Mock ResizeObserver for tests
7
global.ResizeObserver = jest.fn().mockImplementation(() => ({
0 commit comments