feat: setup test coverage

This commit is contained in:
Aravinth Manivannan 2023-09-18 20:27:55 +05:30
parent fa79c34b21
commit a032bba837
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -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",
],
}; };