From 55c16fc3eb1044ad760a08198e694eebf8eb407f Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Tue, 7 Jun 2022 09:18:58 -0400 Subject: [PATCH] Fixed jest.config.js which I'd modified to show only coverage for the unit I was testing --- jest.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jest.config.js b/jest.config.js index a83dbf7d9..eb8dc77a9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,7 +6,7 @@ module.exports = { transform: { "^.+\\.vue$": "vue-jest" }, moduleFileExtensions: ["js", "vue"], collectCoverageFrom: [ - //"src/**/*.{js,vue}", + "src/**/*.{js,vue}", "!src/main.js", "!src/constants/*.js", "!src/router/**/*.js", @@ -20,9 +20,7 @@ module.exports = { "!src/layouts/reveal/**/*.vue", "!src/layouts/estimate/**/*.vue", "!src/layouts/address-lookup/customer-questions/address-questions/address-questions.vue", // there are limitations of async script loading and third party scripts that prevent full coverage from being met for this component. - // TODO REMOVE THESE AFTER WRITING UNIT TESTS - "src/layouts/address-lookup/address-lookup.vue", - "!src/layouts/address-lookup/customer-questions/customer-questions.vue", + // TODO REMOVE THESE AFTER WRITING UNIT TESTS "!src/layouts/address-vehicles/address-vehicles.vue", "!src/layouts/address-vehicles/address-vehicles-question/address-vehicles-question.vue", "!src/ux-components/alert\alert.vue",