Update mocha

- Update mocha.opts to use --require

When updating to Babel v7, this may need to be changed. For details,
see: https://github.com/mochajs/mocha/wiki/compilers-deprecation
This commit is contained in:
Elliot Lee
2019-07-26 17:08:29 -07:00
parent da5edb0b3b
commit b53f336a2a
3 changed files with 531 additions and 111 deletions

View File

@@ -32,7 +32,7 @@
"fs-extra": "^0.30.0",
"intercept-stdout": "^0.1.2",
"istanbul": "~0.4.3",
"mocha": "~2.4.5"
"mocha": "~6.2.0"
},
"scripts": {
"compile": "babel --optional runtime -d distrib/npm/ src/ && cp src/enums/definitions.json distrib/npm/enums",

View File

@@ -1 +1 @@
--reporter spec --slow 500 --compilers js:babel-register
--reporter spec --slow 500 --require babel-core/register

File diff suppressed because it is too large Load Diff