mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Replace chai with unexpected.js
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import 'polyfills';
|
||||
|
||||
import expect from 'unexpected';
|
||||
expect.use(require('unexpected-sinon'));
|
||||
|
||||
// require all modules ending in "_test" from the
|
||||
// current directory and all subdirectories
|
||||
var testsContext = require.context(".", true, /\.test\.jsx?$/);
|
||||
const testsContext = require.context('.', true, /\.test\.jsx?$/);
|
||||
testsContext.keys().forEach(testsContext);
|
||||
|
Reference in New Issue
Block a user