Source map support for tests.

This commit is contained in:
Julien Fontanet 2015-04-10 10:49:25 +02:00
parent 0682cbd554
commit bf1d76d853
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,7 @@
"event-to-promise": "^0.3.2",
"mocha": "*",
"sinon": "^1.14.1",
"source-map-support": "*",
"standard": "*"
},
"scripts": {

View File

@ -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