Commit 9cec78ce authored by 杨奕's avatar 杨奕 Committed by GitHub

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

Fix test config
parents 7f7398d2 5ee2eed8
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment