Skip to content

Commit 9b4b676

Browse files
committed
[skip ci] fix(tests): serve and serve-ts overlapping
1 parent b88559c commit 9b4b676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

__tests__/serveTS.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
jest.setTimeout(100000)
22

3+
const sleep = t => new Promise(resolve => setTimeout(resolve, t))
4+
35
const runTests = require('./serve.helper.js').runTests
46
test('electron:serve-ts', async () => {
7+
// Prevent serve/serve-ts tests from overlapping
8+
await sleep(2000)
59
await runTests(true)
610
})

0 commit comments

Comments
 (0)