-
Notifications
You must be signed in to change notification settings - Fork 166
/
jest.config.js
38 lines (38 loc) · 923 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
verbose: false,
testMatch: ['**/test/**/*test*.js', '!**/playground/**', '!**/*test-helper*'],
collectCoverage: false,
coverageReporters: ['text-summary', 'lcov'],
collectCoverageFrom: ['**/*.js', '!**/node_modules/**', '!**/test/**'],
forceExit: true,
testEnvironment: 'node',
notify: true,
setupFilesAfterEnv: ['jest-extended'],
globalSetup: './test/setup/global-setup.js',
globalTeardown: './test/setup/global-teardown.js',
notifyMode: 'change',
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
[
'jest-watch-suspend',
{
key: 's',
prompt: 'suspend watch mode',
},
],
'jest-watch-master',
[
'jest-watch-toggle-config',
{
setting: 'verbose',
},
],
[
'jest-watch-toggle-config',
{
setting: 'collectCoverage',
},
],
],
};