Skip to content

Commit

Permalink
Updated CircleCI junit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiammercado committed Dec 17, 2023
1 parent ca8f428 commit 4dd8e06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
- save_cache:
key: v1-npm-deps-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- node_modules
- run:
name: Build
command: npm run build
- run:
name: Test
command: npm run test
- store_test_results:
path: ./coverage/ng-event-bus/junit-report.xml
path: coverage/ng-event-bus/junit
- store_artifacts:
path: ./coverage/ng-event-bus/html-report
- run:
name: Build
command: npm run build
path: coverage/ng-event-bus/html-report

workflows:
test-and-build:
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-event-bus/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = (config) => {
},
},
junitReporter: {
outputFile: require('path').join(__dirname, '..', '..', 'coverage', 'ng-event-bus', 'junit-report.xml'),
outputFile: require('path').join(__dirname, '..', '..', 'coverage', 'ng-event-bus', 'junit', 'test-results.xml'),
useBrowserName: false
},
reporters: ['progress', 'kjhtml', 'junit'],
Expand Down

0 comments on commit 4dd8e06

Please sign in to comment.