fengxiang
2018-06-06 87b5c6927ee0f377d9fc0bcc0f9d1ea6b969ffe6
src/test.ts
@@ -1,5 +1,4 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy.js';
import 'zone.js/dist/sync-test';
@@ -26,6 +25,7 @@
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// const context = require.context('./', true, /qq\.component\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.