Skip to content

Commit 66535ea

Browse files
committed
skip bundle test on node 16
1 parent 67e714d commit 66535ea

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/fetch/bundle.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
'use strict'
22

3-
const { test } = require('tap')
3+
const { test, skip } = require('tap')
4+
const { nodeMajor } = require('../../lib/core/util')
5+
6+
if (nodeMajor === 16) {
7+
skip('esbuild uses static blocks with --keep-names which node 16.8 does not have')
8+
process.exit()
9+
}
10+
411
const { Response, Request, FormData, Headers } = require('../../undici-fetch')
512

613
test('bundle sets constructor.name and .name properly', (t) => {

0 commit comments

Comments
 (0)