@@ -8,10 +8,7 @@ const { tspl } = require('@matteo.collina/tspl')
8
8
// eslint-disable-next-line no-control-regex
9
9
const removeEscapeColorsRE = / [ \u001b \u009b ] [ [ ( ) # ; ? ] * (?: [ 0 - 9 ] { 1 , 4 } (?: ; [ 0 - 9 ] { 0 , 4 } ) * ) ? [ 0 - 9 A - O R Z c f - n q r y = > < ] / g
10
10
11
- // see https://github.com/nodejs/node/issues/51766
12
- const skip = process . version === 'v21.6.2' && process . platform === 'win32'
13
-
14
- test ( 'debug#websocket' , { skip } , async t => {
11
+ test ( 'debug#websocket' , async t => {
15
12
const assert = tspl ( t , { plan : 8 } )
16
13
const child = spawn (
17
14
process . execPath ,
@@ -48,10 +45,9 @@ test('debug#websocket', { skip }, async t => {
48
45
} )
49
46
50
47
await assert . completed
51
- child . kill ( )
52
48
} )
53
49
54
- test ( 'debug#fetch' , { skip } , async t => {
50
+ test ( 'debug#fetch' , async t => {
55
51
const assert = tspl ( t , { plan : 7 } )
56
52
const child = spawn (
57
53
process . execPath ,
@@ -83,10 +79,9 @@ test('debug#fetch', { skip }, async t => {
83
79
} )
84
80
85
81
await assert . completed
86
- child . kill ( )
87
82
} )
88
83
89
- test ( 'debug#undici' , { skip } , async t => {
84
+ test ( 'debug#undici' , async t => {
90
85
// Due to Node.js webpage redirect
91
86
const assert = tspl ( t , { plan : 7 } )
92
87
const child = spawn (
@@ -121,7 +116,6 @@ test('debug#undici', { skip }, async t => {
121
116
} )
122
117
123
118
await assert . completed
124
- child . kill ( )
125
119
} )
126
120
127
121
function extractLines ( chunks ) {
0 commit comments