From 02a749fc42495a6e5e50775d95f703b4e0319a97 Mon Sep 17 00:00:00 2001 From: Jason Wheeler Date: Mon, 19 Sep 2022 13:49:24 -0400 Subject: [PATCH] config update - move reporter settings from scripts to jest.config.js --- jest.config.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index fdecfc61..00947398 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,7 +1,7 @@ module.exports = { verbose: true, coverageReporters: ["html", "text", "cobertura"], - reporters: ["jest-junit"], + reporters: ["default", "jest-junit"], testResultsProcessor: "jest-junit", preset: "@vue/cli-plugin-unit-jest", transform: { "^.+\\.vue$": "@vue/vue3-jest" }, diff --git a/package.json b/package.json index abf3f8b4..103a0b76 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", - "test:unit": "vue-cli-service test:unit --coverage --ci --reporters=default --reporters=jest-junit", + "test:unit": "vue-cli-service test:unit --coverage --ci", "test:unit:lite": "vue-cli-service test:unit --ci" }, "dependencies": {