[web-app] ng-alain模版工程初始化

This commit is contained in:
tomsun28
2021-11-27 22:21:52 +08:00
parent bd1530b225
commit 0f8d39eea3
113 changed files with 9004 additions and 28649 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable import/no-unassigned-import */
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/testing';
@@ -7,18 +8,12 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: {
context(path: string, deep?: boolean, filter?: RegExp): {
keys(): string[];
<T>(id: string): T;
};
};
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(),
{ teardown: { destroyAfterEach: true }},
platformBrowserDynamicTesting()
);
// Then we find all the tests.