Getting coverage to 100%
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
global.chai = require('chai')
|
||||
global.chai.use(require('chai-as-promised'))
|
||||
global.expect = global.chai.expect
|
||||
global.should = global.chai.should()
|
||||
global.should = global.chai.should()
|
||||
global.sinon = require('sinon')
|
||||
|
||||
// Restore the default sandbox after every test
|
||||
exports.mochaHooks = {
|
||||
afterEach() {
|
||||
sinon.restore()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user