Skip to content

Commit f2dc8b8

Browse files
hikerpigRokt33r
authored andcommitted
optimize: npm 'test' script should contain jest tests
1 parent 1798353 commit f2dc8b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node_js:
33
- 8
44
script:
55
- npm run lint && npm run test
6-
- yarn jest
76
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then npm install -g grunt [email protected] && grunt pre-build; fi'
87
after_success:
98
- openssl aes-256-cbc -K $encrypted_440d7f9a3c38_key -iv $encrypted_440d7f9a3c38_iv

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"start": "electron ./index.js",
1010
"compile": "grunt compile",
11-
"test": "cross-env NODE_ENV=test ava --serial",
11+
"test": "npm run ava && npm run jest",
12+
"ava": "cross-env NODE_ENV=test ava --serial",
1213
"jest": "jest",
1314
"fix": "eslint . --fix",
1415
"lint": "eslint .",

0 commit comments

Comments
 (0)