qingwei.li преди 8 години
родител
ревизия
5ee2eed88f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/unit/index.js

+ 1 - 1
test/unit/index.js

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