forked from boyonglin/google-maps-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
34 lines (34 loc) · 989 Bytes
/
jest.config.js
File metadata and controls
34 lines (34 loc) · 989 Bytes
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
module.exports = {
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['./tests/setup.js'],
collectCoverageFrom: [
'Package/dist/hooks/popupState.js',
'Package/dist/hooks/backgroundState.js',
'Package/dist/utils/crypto.js',
'Package/dist/utils/appSecret.js',
'Package/dist/contentScript.js',
'Package/dist/components/menu.js',
'Package/dist/components/remove.js',
'Package/dist/components/favorite.js',
'Package/dist/components/history.js',
'Package/dist/components/gemini.js',
'Package/dist/components/modal.js',
'Package/dist/utils/payment.js',
'Package/dist/popup.js',
'Package/dist/background.js',
'!**/node_modules/**'
],
coverageDirectory: 'coverage',
coverageReporters: ['text', 'lcov', 'html', 'clover'],
coverageThreshold: {
global: {
branches: 85,
functions: 95,
lines: 95,
statements: 95
}
},
testMatch: ['**/tests/**/*.test.js'],
verbose: false,
testTimeout: 10000
};