aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.ts')
-rw-r--r--src/test.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test.ts b/src/test.ts
index 36b9be6..c64afa3 100644
--- a/src/test.ts
+++ b/src/test.ts
@@ -23,20 +23,5 @@ import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
-declare const require: {
- context(
- path: string,
- deep?: boolean,
- filter?: RegExp,
- ): {
- keys(): string[];
- <T>(id: string): T;
- };
-};
-
// 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().forEach(context);