Skip to content

Commit

Permalink
skip bundle test on node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Oct 25, 2023
1 parent 67e714d commit 66535ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/fetch/bundle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
'use strict'

const { test } = require('tap')
const { test, skip } = require('tap')
const { nodeMajor } = require('../../lib/core/util')

if (nodeMajor === 16) {
skip('esbuild uses static blocks with --keep-names which node 16.8 does not have')
process.exit()
}

const { Response, Request, FormData, Headers } = require('../../undici-fetch')

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

0 comments on commit 66535ea

Please sign in to comment.