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