Skip to content

Commit e7daa8b

Browse files
committed
update typescript of linkFiber test
1 parent e00ca48 commit e7daa8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/__tests__/linkFiber.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('linkFiber', () => {
3131
// Set up a fake DOM environment with JSDOM
3232
const indexHTML = fs.readFileSync(path.join(__dirname, 'index.html'), 'utf-8');
3333
dom = await new JSDOM(indexHTML, { url: 'http://localhost' });
34-
global.window = dom.window;
34+
global.window = dom.window as unknown as Window & typeof globalThis;
3535
global.document = dom.window._document;
3636

3737
// Initialize Fiber Root:

0 commit comments

Comments
 (0)