Skip to content

Commit 8aa9f4c

Browse files
committed
Bump test timeout
1 parent 123444c commit 8aa9f4c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

integrations/upgrade/index.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ test(
174174
test(
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
{

integrations/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ interface TestConfig {
3737
[filePath: string]: string | Uint8Array
3838
}
3939

40+
timeout?: number
4041
installDependencies?: boolean
4142
}
4243
interface 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,

0 commit comments

Comments
 (0)