Fix test config

pull/693/head
qingwei.li 2016-10-28 10:41:26 +08:00
parent 7f7398d2f0
commit 5ee2eed88f
1 changed files with 1 additions and 1 deletions

View File

@ -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.