forked from xt0rted/dotnet-format-problem-matcher
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjest.config.js
More file actions
32 lines (30 loc) · 674 Bytes
/
jest.config.js
File metadata and controls
32 lines (30 loc) · 674 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
module.exports = {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: [
"**/*.ts",
"!dist/**",
"!lib/**",
"!**/node_modules/**",
],
coverageDirectory: "./coverage/",
globals: {
"ts-jest": {
diagnostics: false,
}
},
moduleFileExtensions: ["js", "ts"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
testRunner: "jest-circus/runner",
transform: {
"^.+\\.ts$": "ts-jest",
},
verbose: true,
};
const processStdoutWrite = process.stdout.write.bind(process.stdout);
process.stdout.write = (str, encoding, cb) => {
if (!str.match(/^::/)) {
return processStdoutWrite(str, encoding, cb);
}
};