@@ -111,6 +111,7 @@ async function prepareEnvironment(environments, coreJsTypes) {
111111 await writeJson ( path . join ( tmpEnvDir , `tsconfig.${ type } .json` ) , {
112112 extends : '../../tsconfig.json' ,
113113 include : [ `../../${ type } /**/*.ts` ] ,
114+ exclude : [ `../../${ type } /async-iteration.test.ts` ] ,
114115 } ) ;
115116 }
116117 }
@@ -122,12 +123,12 @@ await $`npx -p typescript@5.9 tsc -p tsconfig.entries.json`;
122123await $ `npx -p typescript@5.9 tsc -p tsconfig.entries.pure.json` ;
123124await $ `npx -p typescript@5.9 -p @types/node@24 tsc -p tsconfig.templates.require.json` ;
124125
125- if ( ! ALL_TESTS ) {
126- await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iterable.json --target es2023 --lib es2023` ;
127- await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iterable.json --target esnext --lib esnext` ;
128- await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iterable.json --target es2023 --lib es2023` ;
129- await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iterable.json --target esnext --lib esnext` ;
126+ await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iteration.json --target es2023 --lib es2023` ;
127+ await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iteration.json --target esnext --lib esnext` ;
128+ await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iteration.json --target es2023 --lib es2023` ;
129+ await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iteration.json --target esnext --lib esnext` ;
130130
131+ if ( ! ALL_TESTS ) {
131132 await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.json --target es6 --lib es6` ;
132133 await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.json --target esnext --lib esnext` ;
133134 await $ `npx -p typescript@5.6 tsc -p global/tsconfig.json --target es6 --lib es6,dom` ;
@@ -140,14 +141,10 @@ if (!ALL_TESTS) {
140141 await $ `npx -p typescript@5.9 tsc -p global/tsconfig.json --target es2023 --lib es2023,dom` ;
141142 await $ `npx -p typescript@5.9 tsc -p global/tsconfig.json --target esnext --lib esnext,dom` ;
142143} else {
143- const numCPUs = os . cpus ( ) . length ;
144+ const numCPUs = 2 ; // os.cpus().length;
144145 await prepareEnvironment ( envs , types ) ;
145146 await runLimited ( taskConfigs , Math . max ( numCPUs - 1 , 1 ) ) ;
146147 await clearTmpDir ( ) ;
147148 echo ( `Tested: ${ chalk . green ( tested ) } , Failed: ${ chalk . red ( failed ) } ` ) ;
148149 if ( failed ) throw new Error ( 'Some tests have failed' ) ;
149- await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iterable.json --target es2023 --lib es2023` ;
150- await $ `npx -p typescript@5.6 tsc -p pure/tsconfig.async-iterable.json --target esnext --lib esnext` ;
151- await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iterable.json --target es2023 --lib es2023` ;
152- await $ `npx -p typescript@5.9 tsc -p pure/tsconfig.async-iterable.json --target esnext --lib esnext` ;
153150}
0 commit comments