Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 859407f

Browse files
authored
refactor: Update coverage ignore paths after moving files into /site (#139)
Unfortunately along with #133 I missed one other item in moving files to `/site` in #128 - ignoring new configuration files (and other folders) in our `jest.config.js`. This caused our coverage numbers in front-end code to dip, because files that shouldn't be included (and previously weren't included) were now being tracked for coverage.
1 parent e2da8b9 commit 859407f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ module.exports = {
3131
"<rootDir>/**/*.ts",
3232
"<rootDir>/**/*.tsx",
3333
"!<rootDir>/**/*.stories.tsx",
34+
"!<rootDir>/_jest/**/*.*",
3435
"!<rootDir>/.next/**/*.*",
3536
"!<rootDir>/api.ts",
37+
"!<rootDir>/coverage/**/*.*",
3638
"!<rootDir>/dev.ts",
39+
"!<rootDir>/jest-runner.eslint.config.js",
40+
"!<rootDir>/jest.config.js",
3741
"!<rootDir>/next-env.d.ts",
3842
"!<rootDir>/next.config.js",
3943
"!<rootDir>/out/**/*.*",

0 commit comments

Comments
 (0)