Source map support for tests.
This commit is contained in:
parent
0682cbd554
commit
bf1d76d853
@ -32,6 +32,7 @@
|
|||||||
"event-to-promise": "^0.3.2",
|
"event-to-promise": "^0.3.2",
|
||||||
"mocha": "*",
|
"mocha": "*",
|
||||||
"sinon": "^1.14.1",
|
"sinon": "^1.14.1",
|
||||||
|
"source-map-support": "*",
|
||||||
"standard": "*"
|
"standard": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -10,6 +10,9 @@ import chai, {expect} from 'chai'
|
|||||||
import dirtyChai from 'dirty-chai'
|
import dirtyChai from 'dirty-chai'
|
||||||
chai.use(dirtyChai)
|
chai.use(dirtyChai)
|
||||||
|
|
||||||
|
import sourceMapSupport from 'source-map-support'
|
||||||
|
sourceMapSupport.install()
|
||||||
|
|
||||||
function waitTicks (n = 1) {
|
function waitTicks (n = 1) {
|
||||||
const {nextTick} = process
|
const {nextTick} = process
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user