2019-05-24 14:41:33 +08:00
|
|
|
// require all test files (files that ends with .spec.js)
|
2019-06-03 23:42:44 +08:00
|
|
|
const testsContext = require.context('./specs', true, /\.spec.js$/);
|
2019-05-24 14:41:33 +08:00
|
|
|
testsContext.keys().forEach(testsContext);
|