1 | global.chai = require('chai');
|
2 | global.sinon = require('sinon');
|
3 | global.chai.use(require('sinon-chai'));
|
4 |
|
5 | require('babel-core/register');
|
6 | require('./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();
|