config update - move reporter settings from scripts to jest.config.js

This commit is contained in:
Jason Wheeler 2022-09-19 13:49:24 -04:00
parent eee30e5dde
commit 02a749fc42
2 changed files with 2 additions and 2 deletions

View file

@ -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" },

View file

@ -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": {