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 a8d7c0a commit 1034a89Copy full SHA for 1034a89
addon/ng2/blueprints/ng2/files/__path__/test.ts
@@ -24,9 +24,9 @@ Promise.all([
24
])
25
// First, initialize the Angular testing environment.
26
.then(([testing, testingBrowser]) => {
27
- testing.setBaseTestProviders(
28
- testingBrowser.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
29
- testingBrowser.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS
+ testing.getTestBed().initTestEnvironment(
+ testingBrowser.BrowserDynamicTestingModule,
+ testingBrowser.platformBrowserDynamicTesting()
30
);
31
})
32
// Then we find all the tests.
0 commit comments