File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ beforeAll(async () => {
10
10
if ( semver . lt ( nodeVersion , '18.0.0' ) ) {
11
11
const nodeFetch = await import ( 'node-fetch' )
12
12
13
- // @ts -ignore Expected type mismatch between native implementation and node-fetch
13
+ // @ts -expect-error Expected type mismatch between native implementation and node-fetch
14
14
globalThis . fetch = nodeFetch . default
15
- // @ts -ignore Expected type mismatch between native implementation and node-fetch
15
+ // @ts -expect-error Expected type mismatch between native implementation and node-fetch
16
16
globalThis . Request = nodeFetch . Request
17
- // @ts -ignore Expected type mismatch between native implementation and node-fetch
17
+ // @ts -expect-error Expected type mismatch between native implementation and node-fetch
18
18
globalThis . Response = nodeFetch . Response
19
19
globalThis . Headers = nodeFetch . Headers
20
20
}
You can’t perform that action at this time.
0 commit comments