From 859407fd10c58c99307973374342aa30d28b7b63 Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 1 Feb 2022 15:26:48 -0800 Subject: [PATCH] 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. --- site/jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/jest.config.js b/site/jest.config.js index 2a223276c0..5512549d58 100644 --- a/site/jest.config.js +++ b/site/jest.config.js @@ -31,9 +31,13 @@ module.exports = { "/**/*.ts", "/**/*.tsx", "!/**/*.stories.tsx", + "!/_jest/**/*.*", "!/.next/**/*.*", "!/api.ts", + "!/coverage/**/*.*", "!/dev.ts", + "!/jest-runner.eslint.config.js", + "!/jest.config.js", "!/next-env.d.ts", "!/next.config.js", "!/out/**/*.*",