0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

ci(circleci): store test results in junit format (#1497)

This commit is contained in:
Sergio Hg 2019-10-05 16:29:50 +02:00 committed by Juan Picado @jotadeveloper
parent 5415d17e44
commit 1d1a6829db
5 changed files with 5 additions and 1 deletions

View file

@ -46,6 +46,8 @@ commands:
- run:
name: Functional test
command: yarn test:functional
- store_test_results:
path: reports/
jobs:
prepare:

2
.gitignore vendored
View file

@ -23,6 +23,7 @@ yarn-error.log
# Istanbul
reports/
coverage/
.nyc*
@ -36,4 +37,3 @@ __tests__
# Compiled script
static/*

View file

@ -4,6 +4,7 @@ module.exports = {
name: 'verdaccio-unit-jest',
verbose: true,
collectCoverage: true,
reporters: ["default", ["jest-junit", { outputDirectory: 'reports' }]],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
testURL: 'http://localhost',
testRegex: '(test/unit.*\\.spec)\\.ts',

View file

@ -79,6 +79,7 @@
"in-publish": "2.0.0",
"jest": "24.9.0",
"jest-environment-node": "24.9.0",
"jest-junit": "8.0.0",
"lint-staged": "8.2.1",
"nock": "11.3.3",
"prettier": "1.18.2",

BIN
yarn.lock

Binary file not shown.