Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Zogg committed Mar 26, 2020
1 parent 60a473d commit bdc58ea
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 34 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ before_install:
script:
- npm run build
- npm test -- --coverage

after_success: npm run coverage
90 changes: 56 additions & 34 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@types/react": "^16.9.25",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.3",
"coveralls": "^3.0.11",
"date-fns": "^2.11.0",
"fetch-mock": "^9.3.1",
"jest-environment-jsdom-sixteen": "^1.0.3",
Expand Down Expand Up @@ -51,6 +52,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"coverage": "react-scripts test --env=jest-environment-jsdom-sixteen --coverage && coveralls < coverage/lcov.info",
"eject": "react-scripts eject"
}
}

0 comments on commit bdc58ea

Please sign in to comment.