mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 15:29:27 +00:00

git-subtree-dir: packages/strapi-plugin-settings-manager git-subtree-mainline: 80aa83d8460c95366547e143c74bf79ea6ae69f8 git-subtree-split: cd241c14c6a6239bca279e7accd709ba58e87cc8
14 lines
508 B
JavaScript
14 lines
508 B
JavaScript
// needed for regenerator-runtime
|
|
// (ES7 generator support is required by redux-saga)
|
|
import 'babel-polyfill';
|
|
|
|
// If we need to use Chai, we'll have already chaiEnzyme loaded
|
|
import chai from 'chai';
|
|
import chaiEnzyme from 'chai-enzyme';
|
|
chai.use(chaiEnzyme());
|
|
|
|
// Include all .js files under `app`, except app.js, reducers.js, and routes.js.
|
|
// This is for isparta code coverage
|
|
const context = require.context('../../app', true, /^^((?!(app|reducers|routes)).)*\.js$/);
|
|
context.keys().forEach(context);
|