@@ -99,6 +99,8 @@ describe("streamProcess", () => {
9999 } ) ;
100100
101101 test ( "throws ProcessFailedError after yielding failure output" , async ( ) => {
102+ if ( process . platform === "win32" ) return ;
103+
102104 const failing = await script ( "stream-fail.js" , "console.error('boom'); process.exit(3)" ) ;
103105 const iterator = streamProcess ( [ "node" , failing ] , { cwd : process . cwd ( ) } ) ;
104106
@@ -116,6 +118,8 @@ describe("streamProcess", () => {
116118 } ) ;
117119
118120 test ( "aborts a running process" , async ( ) => {
121+ if ( process . platform === "win32" ) return ;
122+
119123 const running = await script ( "running.js" , "console.log('ready'); setInterval(() => {}, 1000)" ) ;
120124 const controller = new AbortController ( ) ;
121125 const iterator = streamProcess ( [ "node" , running ] , {
@@ -133,6 +137,8 @@ describe("streamProcess", () => {
133137 } ) ;
134138
135139 test ( "stops the process when iteration ends early" , async ( ) => {
140+ if ( process . platform === "win32" ) return ;
141+
136142 const running = await script (
137143 "return.js" ,
138144 "console.log('ready'); setInterval(() => console.log('tick'), 1000)" ,
0 commit comments