Skip to content

Commit 89ee067

Browse files
author
Dan Skinner
committed
switch to @kayahr/jest-electron-runner
1 parent af95bd9 commit 89ee067

3 files changed

Lines changed: 8963 additions & 12368 deletions

File tree

config/electron-jest.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ module.exports = {
55
clearMocks: true,
66
modulePathIgnorePatterns: ['.verdaccio', 'fixtures', 'examples'],
77
displayName: 'electron main',
8-
runner: '@jest-runner/electron/main',
8+
runner: '@kayahr/jest-electron-runner/main',
9+
testEnvironment: 'node',
910
testMatch: ['**/test/**/*.test-main.ts']
1011
},
1112
{
1213
setupFilesAfterEnv: ['<rootDir>/test/electron/setup.ts'],
1314
clearMocks: true,
1415
modulePathIgnorePatterns: ['.verdaccio', 'fixtures', 'examples'],
1516
displayName: 'electron renderer',
16-
runner: '@jest-runner/electron',
17+
runner: '@kayahr/jest-electron-runner',
18+
testEnvironment: '@kayahr/jest-electron-runner/environment',
1719
testMatch: ['**/test/**/*.test-renderer.ts']
1820
}
1921
]

0 commit comments

Comments
 (0)