File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,22 @@ import { readdirSync } from "fs";
14
14
// Get a list of e2e test files, each of which should have an associated script
15
15
const e2eTests = readdirSync ( "packages/wrangler/e2e" ) ;
16
16
17
- const tasks = new Set < string > ( ) ;
17
+ const tasks = new Map < string , string > ( ) ;
18
18
19
19
for ( const file of e2eTests ) {
20
20
// Ignore other files in the e2e directory (the README, for instance)
21
21
if ( file . endsWith ( ".test.ts" ) ) {
22
- tasks . add (
22
+ tasks . set (
23
+ file ,
23
24
`pnpm test:e2e --log-order=stream --output-logs=new-only --summarize --filter wrangler --concurrency 1 -- run ./e2e/${ file } `
24
25
) ;
25
26
}
26
27
}
27
28
28
- for ( const task of tasks . values ( ) ) {
29
+ for ( const [ file , task ] of tasks . entries ( ) ) {
30
+ console . log ( "::group::Testing: " + file ) ;
29
31
execSync ( task , {
30
32
stdio : "inherit" ,
31
33
} ) ;
34
+ console . log ( "::endgroup::" ) ;
32
35
}
You can’t perform that action at this time.
0 commit comments