Skip to content

Commit

Permalink
switch to @kayahr/jest-electron-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Skinner committed Oct 18, 2024
1 parent af95bd9 commit 89ee067
Show file tree
Hide file tree
Showing 3 changed files with 8,963 additions and 12,368 deletions.
6 changes: 4 additions & 2 deletions config/electron-jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ module.exports = {
clearMocks: true,
modulePathIgnorePatterns: ['.verdaccio', 'fixtures', 'examples'],
displayName: 'electron main',
runner: '@jest-runner/electron/main',
runner: '@kayahr/jest-electron-runner/main',
testEnvironment: 'node',
testMatch: ['**/test/**/*.test-main.ts']
},
{
setupFilesAfterEnv: ['<rootDir>/test/electron/setup.ts'],
clearMocks: true,
modulePathIgnorePatterns: ['.verdaccio', 'fixtures', 'examples'],
displayName: 'electron renderer',
runner: '@jest-runner/electron',
runner: '@kayahr/jest-electron-runner',
testEnvironment: '@kayahr/jest-electron-runner/environment',
testMatch: ['**/test/**/*.test-renderer.ts']
}
]
Expand Down
Loading

0 comments on commit 89ee067

Please sign in to comment.