Merge pull request #693 from QingWei-Li/fix/test-config

Fix test config
pull/694/head
杨奕 2016-10-28 10:45:23 +08:00 committed by GitHub
commit 9cec78ce04
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.