From f1c4b227225e2c7f4327c0b8462f54107d2adc7b Mon Sep 17 00:00:00 2001 From: Stuart Jones Date: Thu, 21 Apr 2022 10:41:06 +0930 Subject: [PATCH] fixed jest coverage configuration --- jestconfig.coverage.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jestconfig.coverage.json b/jestconfig.coverage.json index 6edb54d..7bbd28d 100644 --- a/jestconfig.coverage.json +++ b/jestconfig.coverage.json @@ -1,3 +1,9 @@ { - "collectCoverage": true + "collectCoverage": true, + "setupFilesAfterEnv": [ + "/jest/customMatchers.js" + ], + "testPathIgnorePatterns": [ + "/node_modules/" + ] } \ No newline at end of file