Skip to content

Commit f2640e2

Browse files
Gabe Pinheirofdaciuk
Gabe Pinheiro
authored andcommitted
add coveragePathIgnorePatterns
1 parent 0cfed29 commit f2640e2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

jest.config.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ const config = {
2828
coverageDirectory: 'coverage',
2929

3030
// An array of regexp pattern strings used to skip coverage collection
31-
// coveragePathIgnorePatterns: [
32-
// "/node_modules/"
33-
// ],
31+
coveragePathIgnorePatterns: [
32+
'/node_modules/',
33+
'config/tests',
34+
],
3435

3536
// Indicates which provider should be used to instrument code for coverage
3637
// coverageProvider: "babel",

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"typeRoots": [
1818
"./node_modules/@types",
1919
"./src/@types",
20-
// "./node_modules/vite-plugin-svgr/client"
20+
"./node_modules/vite-plugin-svgr/client"
2121
],
2222
"jsx": "react-jsx",
2323
"baseUrl": ".",

0 commit comments

Comments
 (0)