File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ export const dev: Task = {
3636 waitOn ( {
3737 resources : [ `http://localhost:${ port } /iframe.html` ] ,
3838 interval : 16 ,
39- timeout : 10000 ,
39+ timeout : 200000 ,
4040 } ) . then ( ( ) => {
4141 return now ( ) - start ;
4242 } ) ,
4343 waitOn ( {
4444 resources : [ `http://localhost:${ port } /index.html` ] ,
4545 interval : 16 ,
46- timeout : 10000 ,
46+ timeout : 200000 ,
4747 } ) . then ( ( ) => {
4848 return now ( ) - start ;
4949 } ) ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const serve: Task = {
2323 const controller = new AbortController ( ) ;
2424 if ( ( await detectFreePort ( port ) ) === port ) {
2525 exec (
26- `yarn http-server ${ builtSandboxDir } --port ${ port } ` ,
26+ `yarn http-server ${ builtSandboxDir } --port ${ port } -s ` ,
2727 { cwd : ROOT_DIRECTORY } ,
2828 { dryRun, debug, signal : controller . signal as AbortSignal }
2929 ) . catch ( ( err ) => {
@@ -32,7 +32,7 @@ export const serve: Task = {
3232 throw err ;
3333 }
3434 } ) ;
35- await waitOn ( { resources : [ `tcp:127.0.0.1:${ port } ` ] , interval : 16 , timeout : 10000 } ) ;
35+ await waitOn ( { resources : [ `tcp:127.0.0.1:${ port } ` ] , interval : 16 , timeout : 200000 } ) ;
3636 }
3737
3838 return controller ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const testRunnerBuild: Task & { port: number } = {
2525 '--index-json' ,
2626 ] ;
2727
28- await waitOn ( { resources : [ `http://localhost:${ port } ` ] , interval : 16 , timeout : 10000 } ) ;
28+ await waitOn ( { resources : [ `http://localhost:${ port } ` ] , interval : 16 , timeout : 200000 } ) ;
2929
3030 await exec (
3131 `yarn test-storybook ${ flags . join ( ' ' ) } ` ,
You can’t perform that action at this time.
0 commit comments