-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
30 lines (30 loc) · 840 Bytes
/
jest.config.js
File metadata and controls
30 lines (30 loc) · 840 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
module.exports = {
transform: { '^.+\\.tsx?$': 'ts-jest' },
testEnvironment: 'node',
testRegex: 'test/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: [
'ts',
'tsx',
'js',
'jsx',
'json',
'node'
],
collectCoverageFrom: [
"src/**/*.tsx",
"src/**/*.ts",
"!src/App.tsx",
"!src/configureStore.ts",
"!src/DotGrid.tsx",
"!src/GeneralLayout.tsx",
"!src/index.tsx",
"!src/Grid.ts",
"!src/components/ModifyAccountComponent.tsx",
"!src/components/ModifyRoomComponent.tsx",
"!src/components/NewAccountComponent.tsx",
"!src/components/NewRoomComponent.tsx",
],
moduleNameMapper: {
"^.+\\.(css|less)$": "<rootDir>/CSSStub.js"
}
};