@@ -8,9 +8,10 @@ const { tspl } = require('@matteo.collina/tspl')
88// eslint-disable-next-line no-control-regex
99const removeEscapeColorsRE = / [ \u001b \u009b ] [ [ ( ) # ; ? ] * (?: [ 0 - 9 ] { 1 , 4 } (?: ; [ 0 - 9 ] { 0 , 4 } ) * ) ? [ 0 - 9 A - O R Z c f - n q r y = > < ] / g
1010
11+ const isNode23Plus = process . versions . node . split ( '.' ) [ 0 ] >= 23
1112const isCITGM = ! ! process . env . CITGM
1213
13- test ( 'debug#websocket' , { skip : ! process . versions . icu || isCITGM } , async t => {
14+ test ( 'debug#websocket' , { skip : ! process . versions . icu || isCITGM || isNode23Plus } , async t => {
1415 const assert = tspl ( t , { plan : 6 } )
1516 const child = spawn (
1617 process . execPath ,
@@ -48,7 +49,7 @@ test('debug#websocket', { skip: !process.versions.icu || isCITGM }, async t => {
4849 await assert . completed
4950} )
5051
51- test ( 'debug#fetch' , { skip : isCITGM } , async t => {
52+ test ( 'debug#fetch' , { skip : isCITGM || isNode23Plus } , async t => {
5253 const assert = tspl ( t , { plan : 7 } )
5354 const child = spawn (
5455 process . execPath ,
@@ -85,7 +86,7 @@ test('debug#fetch', { skip: isCITGM }, async t => {
8586 await assert . completed
8687} )
8788
88- test ( 'debug#undici' , { skip : isCITGM } , async t => {
89+ test ( 'debug#undici' , { skip : isCITGM || isNode23Plus } , async t => {
8990 // Due to Node.js webpage redirect
9091 const assert = tspl ( t , { plan : 7 } )
9192 const child = spawn (
0 commit comments