Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 50c523b

Browse files
committedNov 4, 2017
mocha, appveyor: add flag --exit so appveryor build does not get stuck (#62)
cache node_modules this still does not fix test failures of auth but rather exits the test so joyeecheung does not have to cancel the build manually
1 parent 86bc08b commit 50c523b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎appveyor.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ test_script:
1818
- npm run lint
1919
- npm run coverage-all
2020

21+
cache:
22+
- node_modules
23+
2124
# Don't actually build.
2225
build: off

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
},
99
"scripts": {
1010
"test": "npm run test-unit && npm run lint",
11-
"test-unit": "mocha --require intelli-espower-loader test/unit/*.test.js",
12-
"test-all": "mocha --require intelli-espower-loader test/**/*.test.js",
11+
"test-unit": "mocha --require intelli-espower-loader test/unit/*.test.js --exit",
12+
"test-all": "mocha --require intelli-espower-loader test/**/*.test.js --exit",
1313
"coverage": "nyc npm test",
1414
"coverage-all": "nyc npm run test-all",
1515
"lint": "eslint .",

0 commit comments

Comments
 (0)
Please sign in to comment.