Skip to content

Commit

Permalink
Made testing with coverage command into its own thats called by circle.
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnmclean committed Oct 14, 2017
1 parent 3710504 commit 1940aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- checkout
- restore_cache:
key: neon-wallet-{{ checksum "yarn.lock" }}
- run: yarn test
- run: yarn test:coverage
- run: yarn test:e2e
store_artifacts:
- path: artifacts/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"start": "electron .",
"assets": "webpack",
"assets-watch": "webpack --watch",
"test": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "jest",
"test:coverage": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:e2e": "ava __e2e__/*.e2e.js --timeout=120s",
"test-watch": "jest --watch",
"pack": "build --dir",
Expand Down

0 comments on commit 1940aed

Please sign in to comment.