Skip to content

Commit a5bdaa8

Browse files
committed
disable an outdated fetch test
1 parent 3c990c5 commit a5bdaa8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/devtools-proxy-support/src/fetch.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import { HTTPServerProxyTestSetup } from '../test/helpers';
44

55
describe('createFetch', function () {
66
it("consistency check: plain `import('node-fetch')` fails", async function () {
7+
if (process.versions.node >= '20.19.0') {
8+
// 'node 20.19.0 has require(esm) enabled by default'
9+
return this.skip();
10+
}
11+
712
let failed = false;
813
try {
914
await import('node-fetch');

0 commit comments

Comments
 (0)