Skip to content

Commit 9c3be95

Browse files
committed
fix(ci): disable jest-spectron tests on windows
1 parent 2d33bd1 commit 9c3be95

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

__tests__/testWithSpectronJest.spec.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ jest.setTimeout(100000)
22

33
const runTests = require('./testWithSpectron.helper.js')
44

5-
test('testWithSpectron works with Jest', async () => {
6-
await runTests('jest')
7-
})
5+
// Spawned server doesn't exit on windows
6+
// TODO: make this work on windows
7+
;(process.platform === 'win32' ? test.skip : test)(
8+
'testWithSpectron works with Jest',
9+
async () => {
10+
await runTests('jest')
11+
}
12+
)

0 commit comments

Comments
 (0)