Skip to content

Commit cb67d25

Browse files
mhamel06hansl
authored andcommitted
fix(test): use updated ngModules in blueprint (#1680)
1 parent c58c5b3 commit cb67d25

File tree

1 file changed

+3
-3
lines changed
  • addon/ng2/blueprints/ng2/files/__path__

1 file changed

+3
-3
lines changed

addon/ng2/blueprints/ng2/files/__path__/test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Promise.all([
2424
])
2525
// First, initialize the Angular testing environment.
2626
.then(([testing, testingBrowser]) => {
27-
testing.setBaseTestProviders(
28-
testingBrowser.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
29-
testingBrowser.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS
27+
testing.getTestBed().initTestEnvironment(
28+
testingBrowser.BrowserDynamicTestingModule,
29+
testingBrowser.platformBrowserDynamicTesting()
3030
);
3131
})
3232
// Then we find all the tests.

0 commit comments

Comments
 (0)