Replace chai with unexpected.js

This commit is contained in:
SleepWalker
2016-07-30 13:44:43 +03:00
parent ae11dbdc97
commit 9abbe2ebab
12 changed files with 221 additions and 144 deletions

View File

@@ -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);