Skip to content

Commit

Permalink
replace var with const/let (#392)
Browse files Browse the repository at this point in the history
* Move all var -> const/let in tests

* Set max time for tests to 200 ms

to break out earlier of failing/stuck tests.

* Move all var -> const/let in library
  • Loading branch information
fatso83 authored Jun 18, 2021
1 parent 54c2e8d commit cc30595
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 675 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "BSD-3-Clause",
"scripts": {
"lint": "eslint .",
"test-node": "mocha test/ integration-test/ -R dot --check-leaks",
"test-node": "mocha --timeout 200 test/ integration-test/ -R dot --check-leaks",
"test-headless": "mochify --no-detect-globals --timeout=10000",
"test-check-coverage": "npm run test-coverage && nyc check-coverage",
"test-cloud": "mochify --wd --no-detect-globals --timeout=10000",
Expand Down
Loading

0 comments on commit cc30595

Please sign in to comment.