Skip to content

Commit eb4c884

Browse files
committed
[skip ci] Increase timeout for Spectron tests
1 parent ebccc4d commit eb4c884

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

__tests__/build.helper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ const runTests = useTS =>
5151
isWin ? 'win' : 'linux'
5252
}-unpacked/${projectName}${isWin ? '.exe' : ''}`,
5353
// Make sure tests do not interfere with each other
54-
port: await portfinder.getPortPromise()
54+
port: await portfinder.getPortPromise(),
55+
// Increase wait timeout for parallel testing
56+
waitTimeout: 10000
5557
})
5658
await app.start()
5759
const win = app.browserWindow

__tests__/serve.helper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ const runTests = useTS =>
5151
},
5252
cwd: projectPath(''),
5353
// Make sure tests do not interfere with each other
54-
port: await portfinder.getPortPromise()
54+
port: await portfinder.getPortPromise(),
55+
// Increase wait timeout for parallel testing
56+
waitTimeout: 10000
5557
})
5658

5759
await app.start()

0 commit comments

Comments
 (0)