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 431603f commit 2259daeCopy full SHA for 2259dae
packages/utils/test/browser.test.ts
@@ -7,7 +7,7 @@ beforeAll(() => {
7
8
// @ts-expect-error need to override global document
9
global.document = dom.window.document;
10
- // @ts-expect-error
+ // @ts-expect-error need to add HTMLElement type or it will not be found
11
global.HTMLElement = new JSDOM().window.HTMLElement;
12
});
13
0 commit comments