Skip to content

Commit 207fcdf

Browse files
committed
fix: global
1 parent 988abbd commit 207fcdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jest-setup.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
require('@testing-library/jest-dom');
1+
import '@testing-library/jest-dom';
2+
3+
// Declare global for TypeScript
4+
declare const global: any;
25

36
// Mock ResizeObserver for tests
47
global.ResizeObserver = jest.fn().mockImplementation(() => ({

0 commit comments

Comments
 (0)