-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathjest.config.json
More file actions
42 lines (42 loc) · 1.02 KB
/
jest.config.json
File metadata and controls
42 lines (42 loc) · 1.02 KB
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
39
40
41
42
{
"preset": "ts-jest",
"testEnvironment": "node",
"moduleNameMapper": {
"^colibri/(.*)$": "<rootDir>/src/colibri/$1"
},
"transform": {
"^.+\\.ts$": ["ts-jest", {
"tsconfig": {
"types": ["node", "jest"]
}
}]
},
"collectCoverage": true,
"coverageDirectory": "coverage",
"coveragePathIgnorePatterns": [
"src/colibri/config/config_declaration.ts",
"src/colibri/parser",
"src/teroshdl"
],
"coverageReporters": [
"text",
"clover",
"cobertura"
],
"reporters": [
"default",
[
"jest-html-reporters",
{
"publicPath": "./test-report",
"filename": "test-report.html",
"pageTitle": "Test Report",
"urlForTestFiles": "https://github.com/TerosTechnology/colibri/tree/main/"
}
]
],
"testPathIgnorePatterns": [
"tests_impr",
"tests/yosys"
]
}