From a9b1b7af2047725526d73c33ce9bd4a930cbadaf Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Sun, 10 Mar 2024 17:47:03 +0100 Subject: [PATCH] ci: fix broken ci on windows and node v21 because of libuv bug (#2941) --- test/node-test/debug.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/node-test/debug.js b/test/node-test/debug.js index ade1843ec36..3e6ca0bc0ef 100644 --- a/test/node-test/debug.js +++ b/test/node-test/debug.js @@ -8,10 +8,7 @@ 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 -// see https://github.com/nodejs/node/issues/51766 -const skip = process.version === 'v21.6.2' && process.platform === 'win32' - -test('debug#websocket', { skip }, async t => { +test('debug#websocket', async t => { const assert = tspl(t, { plan: 8 }) const child = spawn( process.execPath, @@ -48,10 +45,9 @@ test('debug#websocket', { skip }, async t => { }) await assert.completed - child.kill() }) -test('debug#fetch', { skip }, async t => { +test('debug#fetch', async t => { const assert = tspl(t, { plan: 7 }) const child = spawn( process.execPath, @@ -83,10 +79,9 @@ test('debug#fetch', { skip }, async t => { }) await assert.completed - child.kill() }) -test('debug#undici', { skip }, async t => { +test('debug#undici', async t => { // Due to Node.js webpage redirect const assert = tspl(t, { plan: 7 }) const child = spawn( @@ -121,7 +116,6 @@ test('debug#undici', { skip }, async t => { }) await assert.completed - child.kill() }) function extractLines (chunks) {