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 e00ca48 commit e7daa8bCopy full SHA for e7daa8b
src/backend/__tests__/linkFiber.test.tsx
@@ -31,7 +31,7 @@ describe('linkFiber', () => {
31
// Set up a fake DOM environment with JSDOM
32
const indexHTML = fs.readFileSync(path.join(__dirname, 'index.html'), 'utf-8');
33
dom = await new JSDOM(indexHTML, { url: 'http://localhost' });
34
- global.window = dom.window;
+ global.window = dom.window as unknown as Window & typeof globalThis;
35
global.document = dom.window._document;
36
37
// Initialize Fiber Root:
0 commit comments