File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,8 @@ test(
174174test (
175175 `upgrades a v3 project with prefixes to v4` ,
176176 {
177+ // Somehow this test takes *way* longer than the rest (but not always?)
178+ timeout : 120_000 ,
177179 fs : {
178180 'package.json' : json `
179181 {
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ interface TestConfig {
3737 [ filePath : string ] : string | Uint8Array
3838 }
3939
40+ timeout ?: number
4041 installDependencies ?: boolean
4142}
4243interface TestContext {
@@ -86,7 +87,7 @@ export function test(
8687 return defaultTest (
8788 name ,
8889 {
89- timeout : TEST_TIMEOUT ,
90+ timeout : config . timeout ?? TEST_TIMEOUT ,
9091 retry : process . env . CI ? 2 : 0 ,
9192 only : only || ( ! process . env . CI && debug ) ,
9293 skip,
You can’t perform that action at this time.
0 commit comments