Skip to content

Commit

Permalink
Upgrade deps and use Mocha v6's new config format
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis committed Mar 14, 2019
1 parent 6b32b50 commit 96d4073
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"use strict";

module.exports = {
slow: 9999,
spec: "test/?-*.js",
require: [
"chai/register-expect",
"mocha-when/register",
],
};
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ lint:

# Run unit-tests
test: umd
npx mocha test/?-*.js
npx mocha

.PHONY: test
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
"prepare": "make"
},
"devDependencies": {
"@alhadis/eslint-config": "^1.1.0",
"@alhadis/eslint-config": "^1.2.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.6.1",
"rollup": "^0.66.4",
"terser": "^3.9.3",
"mocha": "^5.2.0",
"chai": "^4.2.0"
"eslint": "^5.15.1",
"rollup": "^1.6.0",
"terser": "^3.17.0",
"mocha": "^6.0.2",
"mocha-when": "^1.0.0",
"chai": "^4.2.0"
},
"engines": {
"atom": ">=1.19.0",
Expand Down
2 changes: 0 additions & 2 deletions test/mocha.opts

This file was deleted.

0 comments on commit 96d4073

Please sign in to comment.