Skip to content

Commit d51f45e

Browse files
author
Dave Syer
committed
Fix test
1 parent 208d09e commit d51f45e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

e2e/src/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe('workspace-project App', () => {
99

1010
it('should display welcome message', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('Welcome to client!');
12+
expect(page.getParagraphText()).toEqual('Welcome Demo!');
1313
});
1414
});

src/app/app.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { TestBed, async } from '@angular/core/testing';
22
import { AppComponent } from './app.component';
3-
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
3+
`import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
44
describe('AppComponent', () => {
55
beforeEach(async(() => {
66
TestBed.configureTestingModule({

0 commit comments

Comments
 (0)