We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb430da commit 46123a7Copy full SHA for 46123a7
src/test.ts
@@ -0,0 +1,18 @@
1
+import 'zone.js/dist/zone-testing';
2
+import { getTestBed } from '@angular/core/testing';
3
+import {
4
+ BrowserDynamicTestingModule,
5
+ platformBrowserDynamicTesting
6
+} from '@angular/platform-browser-dynamic/testing';
7
+
8
+declare const require: any;
9
10
+// First, initialize the Angular testing environment.
11
+getTestBed().initTestEnvironment(
12
13
+ platformBrowserDynamicTesting()
14
+);
15
+// Then we find all the tests.
16
+const context = require.context('./', true, /\.spec\.ts$/);
17
+// And load the modules.
18
+context.keys().map(context);
0 commit comments