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:
|
||||
name: Functional test
|
||||
command: yarn test:functional
|
||||
- store_test_results:
|
||||
path: reports/
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -23,6 +23,7 @@ yarn-error.log
|
|||
|
||||
|
||||
# Istanbul
|
||||
reports/
|
||||
coverage/
|
||||
.nyc*
|
||||
|
||||
|
@ -36,4 +37,3 @@ __tests__
|
|||
|
||||
# Compiled script
|
||||
static/*
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in a new issue