Skip to content

Commit 18c86d6

Browse files
committed
test(client): fix client test import
1 parent cf1fe47 commit 18c86d6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: templates/app/spec.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ testsContext('./components/oauth-buttons/oauth-buttons.component.spec.<%= script
2121
<%_ } -%>
2222

2323
import { TestBed, getTestBed } from '@angular/core/testing';
24-
import browser from '@angular/platform-browser-dynamic/testing';
24+
import {
25+
BrowserDynamicTestingModule,
26+
platformBrowserDynamicTesting,
27+
} from '@angular/platform-browser-dynamic/testing';
2528

26-
TestBed.initTestEnvironment(browser.BrowserDynamicTestingModule, browser.platformBrowserDynamicTesting());
29+
TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
2730

2831
<%_ if (filters.mocha) { -%>
2932
var hook = new Mocha.Hook('Modified Angular beforeEach Hook', function() {

0 commit comments

Comments
 (0)