Skip to content

Commit

Permalink
add jest-junit, ready for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TremayneChrist committed Jan 15, 2019
1 parent 5a560ff commit 6a8816b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,3 +1,4 @@
node_modules
coverage
lib
lib
junit.xml
4 changes: 4 additions & 0 deletions jest.config.js
@@ -1,6 +1,10 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
reporters: [
'default',
'jest-junit'
],
collectCoverageFrom: [
'src/**/*.ts',
'!src/DOMInteractions.ts'
Expand Down
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -47,6 +47,7 @@
"@types/jest": "^23.3.12",
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"jest-junit": "^6.0.1",
"jsdom": "^13.1.0",
"sinon": "^7.2.2",
"ts-jest": "^23.10.5",
Expand Down

0 comments on commit 6a8816b

Please sign in to comment.