UNPKG

640 BJavaScriptView Raw
1global.chai = require('chai');
2global.sinon = require('sinon');
3global.chai.use(require('sinon-chai'));
4
5require('babel-core/register');
6require('./setup')();
7
8/*
9 Uncomment the following if your library uses features of the DOM,
10 for example if writing a jQuery extension, and
11 add 'simple-jsdom' to the `devDependencies` of your package.json
12
13 Note that JSDom doesn't implement the entire DOM API. If you're using
14 more advanced or experimental features, you may need to switch to
15 PhantomJS. Setting that up is currently outside of the scope of this
16 boilerplate.
17 */
18// import simpleJSDom from 'simple-jsdom';
19// simpleJSDom.install();