aboutsummaryrefslogtreecommitdiff
path: root/src/test.ts
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-05-08 12:45:04 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-05-08 12:45:04 +0200
commit57e37455ca3b0810f6b3a960c6300be2486c31de (patch)
tree3c7d0d2c0c268542cb76494dae634e27071c5a84 /src/test.ts
parentb9165f58f27c8209797c0acf5fd1c83124de0849 (diff)
downloadgnunet-webui-57e37455ca3b0810f6b3a960c6300be2486c31de.tar.gz
gnunet-webui-57e37455ca3b0810f6b3a960c6300be2486c31de.zip
add hello world
Diffstat (limited to 'src/test.ts')
-rw-r--r--src/test.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test.ts b/src/test.ts
new file mode 100644
index 0000000..1631789
--- /dev/null
+++ b/src/test.ts
@@ -0,0 +1,20 @@
1// This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
3import 'zone.js/dist/zone-testing';
4import { getTestBed } from '@angular/core/testing';
5import {
6 BrowserDynamicTestingModule,
7 platformBrowserDynamicTesting
8} from '@angular/platform-browser-dynamic/testing';
9
10declare const require: any;
11
12// First, initialize the Angular testing environment.
13getTestBed().initTestEnvironment(
14 BrowserDynamicTestingModule,
15 platformBrowserDynamicTesting()
16);
17// Then we find all the tests.
18const context = require.context('./', true, /\.spec\.ts$/);
19// And load the modules.
20context.keys().map(context);