Files
2019-03-17 15:39:29 +08:00

22 lines
688 B
JavaScript
Executable File

global.chai = require('chai');
global.sinon = require('sinon');
global.chai.use(require('sinon-chai'));
require('babel-core/register')({
ignore: /node_modules\/(?!lodash-es)/
});
require('./setup')();
/*
Uncomment the following if your library uses features of the DOM,
for example if writing a jQuery extension, and
add 'simple-jsdom' to the `devDependencies` of your package.json
Note that JSDom doesn't implement the entire DOM API. If you're using
more advanced or experimental features, you may need to switch to
PhantomJS. Setting that up is currently outside of the scope of this
boilerplate.
*/
// import simpleJSDom from 'simple-jsdom';
// simpleJSDom.install();