added mocha/chai/sinon test config
This commit is contained in:
6
test/setup-node.js
Normal file
6
test/setup-node.js
Normal file
@@ -0,0 +1,6 @@
|
||||
//inject mocha globally to allow custom interface refer without direct import - bypass bundle issue
|
||||
global._ = require('lodash');
|
||||
global.mocha = require('mocha');
|
||||
global.chai = require('chai');
|
||||
global.sinon = require('sinon');
|
||||
global.chai.use(require('sinon-chai'));
|
||||
Reference in New Issue
Block a user