mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
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:
@@ -32,7 +32,7 @@
|
|||||||
"fs-extra": "^0.30.0",
|
"fs-extra": "^0.30.0",
|
||||||
"intercept-stdout": "^0.1.2",
|
"intercept-stdout": "^0.1.2",
|
||||||
"istanbul": "~0.4.3",
|
"istanbul": "~0.4.3",
|
||||||
"mocha": "~2.4.5"
|
"mocha": "~6.2.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile": "babel --optional runtime -d distrib/npm/ src/ && cp src/enums/definitions.json distrib/npm/enums",
|
"compile": "babel --optional runtime -d distrib/npm/ src/ && cp src/enums/definitions.json distrib/npm/enums",
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user