-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
27 lines (27 loc) · 766 Bytes
/
jest.config.js
File metadata and controls
27 lines (27 loc) · 766 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
module.exports = {
roots: ["test/"],
collectCoverageFrom: ["src/**/*.js", "test-utils/**/*.js"],
coverageDirectory: "reports/coverage/",
coverageReporters: ["json", "lcov", "text", "clover", "cobertura"],
reporters: [
"default",
[
"jest-junit",
{
outputDirectory: "reports",
outputName: "xunit.xml"
}
],
[
"jest-stare",
{
resultDir: "reports/unit-tests/",
resultHtml: "index.html",
resultJson: "data.json",
report: true,
reportSummary: true,
coverageLink: "../coverage/lcov-report/index.html"
}
]
]
};