all files / test/ index.js

100% Statements 9/9
100% Branches 0/0
100% Functions 0/0
100% Lines 9/9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16             
import chai from 'chai'
import sinonChai from 'sinon-chai'
 
chai.use(sinonChai)
 
global.chai = chai
global.assert = chai.assert
global.expect = chai.expect
global.should = chai.should()
 
const testsContext = require.context('./', true, /\.spec\.js$/)
testsContext.keys().forEach(testsContext)
 
const srcContext = require.context('../src/', true, /\.js$/)
srcContext.keys().forEach(srcContext)