Skip to content

Commit

Permalink
fix(ci): correctly exit after mocha tests are done. Lowered CI params…
Browse files Browse the repository at this point in the history
… for block time and requests
  • Loading branch information
Exulansis committed Sep 21, 2019
1 parent b1c0993 commit b8eed46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
yarn test
env:
CI: true
BLOCK_TIME: 1
REQUESTS: 500
BLOCK_TIME: 0.5
REQUESTS: 320
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "ts-node ./ts/server.ts",
"build": "rm -rf ./js; tsc -p ./tsconfig.json",
"test": "mocha --opts ./mocha.opts ./tests/index.ts"
"test": "mocha --opts ./mocha.opts ./tests/index.ts --exit"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit b8eed46

Please sign in to comment.