feat: setup test coverage
This commit is contained in:
parent
fa79c34b21
commit
a032bba837
1 changed files with 7 additions and 0 deletions
|
@ -4,4 +4,11 @@ module.exports = {
|
||||||
},
|
},
|
||||||
testEnvironment: "jsdom",
|
testEnvironment: "jsdom",
|
||||||
setupFiles: ["./setupJest.js"],
|
setupFiles: ["./setupJest.js"],
|
||||||
|
collectCoverage: true,
|
||||||
|
coveragePathIgnorePatterns: [
|
||||||
|
"/node_modules/",
|
||||||
|
"setupTests.ts",
|
||||||
|
"setUpTests.ts",
|
||||||
|
"setUpTests.js",
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue