Skip to content

Commit

Permalink
optimize: npm 'test' script should contain jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hikerpig authored and Rokt33r committed Oct 15, 2019
1 parent 1798353 commit f2dc8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,6 @@ node_js:
- 8
script:
- npm run lint && npm run test
- yarn jest
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then npm install -g grunt npm@6.4 && grunt pre-build; fi'
after_success:
- openssl aes-256-cbc -K $encrypted_440d7f9a3c38_key -iv $encrypted_440d7f9a3c38_iv
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"start": "electron ./index.js",
"compile": "grunt compile",
"test": "cross-env NODE_ENV=test ava --serial",
"test": "npm run ava && npm run jest",
"ava": "cross-env NODE_ENV=test ava --serial",
"jest": "jest",
"fix": "eslint . --fix",
"lint": "eslint .",
Expand Down

0 comments on commit f2dc8b8

Please sign in to comment.