File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
packages/signals/signals-integration-tests Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88 "scripts" : {
99 "." : " yarn run -T turbo run --filter=@internal/signals-integration-tests..." ,
1010 "build" : " webpack" ,
11- "test:int" : " playwright test && yarn test:global-sandbox" ,
11+ "test:int" : " playwright test && SKIP_BUILD=true yarn test:global-sandbox" ,
1212 "test:vanilla" : " playwright test src/tests/signals-vanilla" ,
1313 "test:perf" : " playwright test src/tests/performance" ,
1414 "test:custom" : " playwright test src/tests/custom" ,
15- "test:global-sandbox" : " SANDBOX_STRATEGY=global yarn test: vanilla && SANDBOX_STRATEGY=global yarn test: custom" ,
15+ "test:global-sandbox" : " SANDBOX_STRATEGY=global playwright test src/tests/signals- vanilla src/tests/ custom" ,
1616 "watch" : " webpack -w" ,
1717 "lint" : " yarn concurrently 'yarn:eslint .' 'yarn:tsc --noEmit'" ,
1818 "concurrently" : " yarn run -T concurrently" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ import { envConfig } from './src/helpers/env-config'
55export default function globalSetup ( _cfg : FullConfig ) {
66 console . log ( `Executing playwright.global-setup.ts...\n` )
77 console . log ( `Using envConfig: ${ JSON . stringify ( envConfig , undefined , 2 ) } \n` )
8- execSync ( 'yarn build' , { stdio : 'inherit' } )
9- console . log ( 'Finished global setup.\n' )
8+ if ( process . env . SKIP_BUILD !== 'true' ) {
9+ console . log ( `Executing yarn build:\n` )
10+ execSync ( 'yarn build' , { stdio : 'inherit' } )
11+ }
12+ console . log ( 'Finished global setup. Should start running tests.\n' )
1013}
You can’t perform that action at this time.
0 commit comments