File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
test-helpers/src/startFixture Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1616 "test:unit" : " pnpm test:jest && pnpm test:vitest" ,
1717 "test:jest" : " jest" ,
1818 "test:vitest" : " vitest --watch=false" ,
19- "test:playwright" : " playwright test" ,
19+ "test:playwright" : " NODE_OPTIONS=--no-experimental-fetch playwright test" ,
2020 "format" : " prettier --write ." ,
2121 "lint" : " manypkg check && prettier --check . && tsc" ,
2222 "copy-readme-to-packages" : " ts-node scripts/copy-readme-to-packages" ,
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ export const startParcelFixture = async (
3939 return reject ( err ) ;
4040 }
4141
42+ if ( buildEvent ?. type === 'buildFailure' ) {
43+ console . error ( 'Build event diagnostics:' , buildEvent . diagnostics ) ;
44+ return reject ( buildEvent . diagnostics [ 0 ] ) ;
45+ }
46+
4247 if ( buildEvent ?. type === 'buildSuccess' ) {
4348 const cssBundle = buildEvent . bundleGraph
4449 . getBundles ( )
You can’t perform that action at this time.
0 commit comments