diff options
author | crupest <crupest@outlook.com> | 2019-04-13 13:03:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-13 13:03:18 +0800 |
commit | fac5006e7eaf7f7bc23e92a2b3059d4f1b37fa07 (patch) | |
tree | 39cf181a18a3dc443dbab5669a04d0a23cdefd00 /Timeline/ClientApp/src/test.ts | |
parent | 8c5e7069d2651fb6fae641dfe482d7a0910b3fd1 (diff) | |
download | timeline-fac5006e7eaf7f7bc23e92a2b3059d4f1b37fa07.tar.gz timeline-fac5006e7eaf7f7bc23e92a2b3059d4f1b37fa07.tar.bz2 timeline-fac5006e7eaf7f7bc23e92a2b3059d4f1b37fa07.zip |
Init separate.
Diffstat (limited to 'Timeline/ClientApp/src/test.ts')
-rw-r--r-- | Timeline/ClientApp/src/test.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Timeline/ClientApp/src/test.ts b/Timeline/ClientApp/src/test.ts deleted file mode 100644 index 688add40..00000000 --- a/Timeline/ClientApp/src/test.ts +++ /dev/null @@ -1,22 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js/dist/zone-testing'; -import 'zone.js/dist/zone-patch-rxjs-fake-async'; - -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -declare const require: any; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); -// Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); |