accounts-frontend/tests/index.js

10 lines
299 B
JavaScript
Raw Normal View History

import 'polyfills';
2016-07-30 16:14:43 +05:30
import expect from 'unexpected';
expect.use(require('unexpected-sinon'));
// require all modules ending in "_test" from the
// current directory and all subdirectories
2016-07-30 16:14:43 +05:30
const testsContext = require.context('.', true, /\.test\.jsx?$/);
testsContext.keys().forEach(testsContext);