mirror of https://github.com/ElemeFE/element
commit
9cec78ce04
|
@ -4,7 +4,7 @@ Function.prototype.bind = require('function-bind');
|
|||
require('packages/theme-default/src/index.css');
|
||||
|
||||
// require all test files (files that ends with .spec.js)
|
||||
const testsContext = require.context('./specs', true, /table\.spec$/);
|
||||
const testsContext = require.context('./specs', true, /\.spec$/);
|
||||
testsContext.keys().forEach(testsContext);
|
||||
|
||||
// require all src files except main.js for coverage.
|
||||
|
|
Loading…
Reference in New Issue