File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default defineConfig({
2020 } ,
2121
2222 // Increase global timeout for service worker tests
23- timeout : 30000 ,
23+ timeout : process . env . CI ? 120000 : 30000 ,
2424
2525 projects : [
2626 {
@@ -44,6 +44,6 @@ export default defineConfig({
4444 port : 3000 ,
4545 stdout : 'pipe' ,
4646 reuseExistingServer : ! process . env . CI ,
47- timeout : 120000 ,
47+ timeout : process . env . CI ? 120000 : 30000 ,
4848 } ,
4949} ) ;
Original file line number Diff line number Diff line change @@ -205,4 +205,4 @@ export function log(text: string) {
205205 console . log ( yellow ( 'E2E: ' + text ) ) ;
206206}
207207
208- export const DEFAULT_TIMEOUT = 30000 ;
208+ export const DEFAULT_TIMEOUT = process . env . CI ? 120000 : 30000 ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default defineConfig({
2020 } ,
2121
2222 // Increase global timeout for service worker tests
23- timeout : 30000 ,
23+ timeout : process . env . CI ? 120000 : 30000 ,
2424
2525 projects : [
2626 {
@@ -44,5 +44,6 @@ export default defineConfig({
4444 port : 3000 ,
4545 stdout : 'pipe' ,
4646 reuseExistingServer : ! process . env . CI ,
47+ timeout : process . env . CI ? 120000 : 30000 ,
4748 } ,
4849} ) ;
You can’t perform that action at this time.
0 commit comments