Adding unit test reports
This commit is contained in:
parent
790fe07bb0
commit
eaab6b335c
2 changed files with 1959 additions and 0 deletions
10
package.json
10
package.json
|
|
@ -11,6 +11,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
|
"test": "jest --ci --reporters=default --reporters=jest-junit",
|
||||||
"test:unit": "vue-cli-service test:unit --coverage --ci --colors",
|
"test:unit": "vue-cli-service test:unit --coverage --ci --colors",
|
||||||
"test:unit:lite": "vue-cli-service test:unit --ci"
|
"test:unit:lite": "vue-cli-service test:unit --ci"
|
||||||
},
|
},
|
||||||
|
|
@ -58,5 +59,14 @@
|
||||||
"vite": "^4.4.6",
|
"vite": "^4.4.6",
|
||||||
"vitest": "^0.33.0",
|
"vitest": "^0.33.0",
|
||||||
"volar-service-vetur": "latest"
|
"volar-service-vetur": "latest"
|
||||||
|
},
|
||||||
|
"jest-junit": {
|
||||||
|
"outputDirectory": "reports",
|
||||||
|
"outputName": "jest-junit.xml",
|
||||||
|
"ancestorSeparator": " › ",
|
||||||
|
"uniqueOutputName": "false",
|
||||||
|
"suiteNameTemplate": "{filepath}",
|
||||||
|
"classNameTemplate": "{classname}",
|
||||||
|
"titleTemplate": "{title}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1949
reports/jest-junit.xml
Normal file
1949
reports/jest-junit.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue