Getting coverage to 100%
This commit is contained in:
parent
b27e10374e
commit
c45523f38a
25 changed files with 2393 additions and 2282 deletions
|
@ -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()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue