Skip to content

Commit

Permalink
tests: skip test/node-test/debug on node 21.6.2 and windows (#2765)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Feb 17, 2024
1 parent cdc6d5c commit db5fd97
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/node-test/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ const { tspl } = require('@matteo.collina/tspl')
// eslint-disable-next-line no-control-regex
const removeEscapeColorsRE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g

test('debug#websocket', async t => {
// see https://github.com/nodejs/node/issues/51766
const skip = process.version === 'v21.6.2' && process.platform === 'win32'

test('debug#websocket', { skip }, async t => {
const assert = tspl(t, { plan: 8 })
const child = spawn(
process.execPath,
Expand Down Expand Up @@ -48,7 +51,7 @@ test('debug#websocket', async t => {
child.kill()
})

test('debug#fetch', async t => {
test('debug#fetch', { skip }, async t => {
const assert = tspl(t, { plan: 7 })
const child = spawn(
process.execPath,
Expand Down Expand Up @@ -83,7 +86,7 @@ test('debug#fetch', async t => {
child.kill()
})

test('debug#undici', async t => {
test('debug#undici', { skip }, async t => {
// Due to Node.js webpage redirect
const assert = tspl(t, { plan: 7 })
const child = spawn(
Expand Down

0 comments on commit db5fd97

Please sign in to comment.