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:
parent
5415d17e44
commit
1d1a6829db
5 changed files with 5 additions and 1 deletions
|
@ -46,6 +46,8 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: Functional test
|
name: Functional test
|
||||||
command: yarn test:functional
|
command: yarn test:functional
|
||||||
|
- store_test_results:
|
||||||
|
path: reports/
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -23,6 +23,7 @@ yarn-error.log
|
||||||
|
|
||||||
|
|
||||||
# Istanbul
|
# Istanbul
|
||||||
|
reports/
|
||||||
coverage/
|
coverage/
|
||||||
.nyc*
|
.nyc*
|
||||||
|
|
||||||
|
@ -36,4 +37,3 @@ __tests__
|
||||||
|
|
||||||
# Compiled script
|
# Compiled script
|
||||||
static/*
|
static/*
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ module.exports = {
|
||||||
name: 'verdaccio-unit-jest',
|
name: 'verdaccio-unit-jest',
|
||||||
verbose: true,
|
verbose: true,
|
||||||
collectCoverage: true,
|
collectCoverage: true,
|
||||||
|
reporters: ["default", ["jest-junit", { outputDirectory: 'reports' }]],
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
testURL: 'http://localhost',
|
testURL: 'http://localhost',
|
||||||
testRegex: '(test/unit.*\\.spec)\\.ts',
|
testRegex: '(test/unit.*\\.spec)\\.ts',
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
"in-publish": "2.0.0",
|
"in-publish": "2.0.0",
|
||||||
"jest": "24.9.0",
|
"jest": "24.9.0",
|
||||||
"jest-environment-node": "24.9.0",
|
"jest-environment-node": "24.9.0",
|
||||||
|
"jest-junit": "8.0.0",
|
||||||
"lint-staged": "8.2.1",
|
"lint-staged": "8.2.1",
|
||||||
"nock": "11.3.3",
|
"nock": "11.3.3",
|
||||||
"prettier": "1.18.2",
|
"prettier": "1.18.2",
|
||||||
|
|
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in a new issue