Explorar o código

Update Angular CLI

Lukas Cerny %!s(int64=2) %!d(string=hai) anos
pai
achega
51b4213f4e
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      src/test.ts

+ 0 - 11
src/test.ts

@@ -7,19 +7,8 @@ import {
   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().map(context);