Skip to content

Commit

Permalink
test: use jest-runner-electron
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Feb 14, 2023
1 parent c9d40ec commit d12f26d
Show file tree
Hide file tree
Showing 26 changed files with 2,052 additions and 1,641 deletions.
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ module.exports = {
'!src/**/*example*.*'
],
coverageDirectory: '<rootDir>/coverage',
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'http://localhost/'
}
runner: '@kayahr/jest-electron-runner',
testEnvironment: '@kayahr/jest-electron-runner/environment'
};
1 change: 0 additions & 1 deletion jest/setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Enzyme from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
import 'whatwg-fetch';
import 'jest-canvas-mock';
import '@testing-library/jest-dom';
import 'regenerator-runtime/runtime';

Expand Down
Loading

0 comments on commit d12f26d

Please sign in to comment.