projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Angular upgrade
[osm/NG-UI.git]
/
src
/
test.ts
diff --git
a/src/test.ts
b/src/test.ts
index
c191cf8
..
5ea6a97
100644
(file)
--- a/
src/test.ts
+++ b/
src/test.ts
@@
-25,10
+25,6
@@
import {
} from '@angular/platform-browser-dynamic/testing';
import 'zone.js/dist/zone-testing';
} from '@angular/platform-browser-dynamic/testing';
import 'zone.js/dist/zone-testing';
-/** const variable require */
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-declare const require: any;
-
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@@
-36,9
+32,3
@@
getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
teardown: { destroyAfterEach: false }
}
);
-
-/** const variable context */
-// Then we find all the tests.
-const context = require.context('./', true, /\.spec\.ts$/);
-// And load the modules.
-context.keys().map(context);