@@ -266,37 +266,6 @@ async function testPullTransformYieldsStrings() {
266266 assert . strictEqual ( result , 'hello' ) ;
267267}
268268
269- // Run the uncaughtException test sequentially (it installs a global handler
270- // that would interfere with concurrent tests).
271- ( async ( ) => {
272- await Promise . all ( [
273- testPullIdentity ( ) ,
274- testPullStatelessTransform ( ) ,
275- testPullStatefulTransform ( ) ,
276- testPullWithAbortSignal ( ) ,
277- testPullChainedTransforms ( ) ,
278- testPullSourceError ( ) ,
279- testTapCallbackError ( ) ,
280- testPullSignalAbortMidIteration ( ) ,
281- testPullConsumerBreakCleanup ( ) ,
282- testPullTransformReturnsPromise ( ) ,
283- testPullTransformYieldsStrings ( ) ,
284- testPullStatelessTransformError ( ) ,
285- testPullStatefulTransformError ( ) ,
286- testPullStatelessTransformFlush ( ) ,
287- testPullStatelessTransformFlushError ( ) ,
288- testPullWithSyncSource ( ) ,
289- testPullStringSource ( ) ,
290- testTransformReturnsSingleUint8Array ( ) ,
291- testTransformReturnsSingleString ( ) ,
292- testTransformReturnsArrayBuffer ( ) ,
293- testPipeToStringSource ( ) ,
294- testTransformOptionsNotShared ( ) ,
295- ] ) ;
296- // Run after all concurrent tests complete to avoid global handler races
297- await testTransformSignalListenerErrorOnSourceError ( ) ;
298- } ) ( ) . then ( common . mustCall ( ) ) ;
299-
300269// pull() accepts a string source directly (normalized via from())
301270async function testPullStringSource ( ) {
302271 const data = await text ( pull ( 'hello-direct' ) ) ;
@@ -369,3 +338,34 @@ async function testTransformOptionsNotShared() {
369338 // transform2 gets a fresh options object - no mutation visible
370339 assert . strictEqual ( seen [ 1 ] . mutated , undefined ) ;
371340}
341+
342+ // Run the uncaughtException test sequentially (it installs a global handler
343+ // that would interfere with concurrent tests).
344+ ( async ( ) => {
345+ await Promise . all ( [
346+ testPullIdentity ( ) ,
347+ testPullStatelessTransform ( ) ,
348+ testPullStatefulTransform ( ) ,
349+ testPullWithAbortSignal ( ) ,
350+ testPullChainedTransforms ( ) ,
351+ testPullSourceError ( ) ,
352+ testTapCallbackError ( ) ,
353+ testPullSignalAbortMidIteration ( ) ,
354+ testPullConsumerBreakCleanup ( ) ,
355+ testPullTransformReturnsPromise ( ) ,
356+ testPullTransformYieldsStrings ( ) ,
357+ testPullStatelessTransformError ( ) ,
358+ testPullStatefulTransformError ( ) ,
359+ testPullStatelessTransformFlush ( ) ,
360+ testPullStatelessTransformFlushError ( ) ,
361+ testPullWithSyncSource ( ) ,
362+ testPullStringSource ( ) ,
363+ testTransformReturnsSingleUint8Array ( ) ,
364+ testTransformReturnsSingleString ( ) ,
365+ testTransformReturnsArrayBuffer ( ) ,
366+ testPipeToStringSource ( ) ,
367+ testTransformOptionsNotShared ( ) ,
368+ ] ) ;
369+ // Run after all concurrent tests complete to avoid global handler races
370+ await testTransformSignalListenerErrorOnSourceError ( ) ;
371+ } ) ( ) . then ( common . mustCall ( ) ) ;
0 commit comments