Skip to content

Commit

Permalink
chore: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ersimont committed Sep 4, 2018
1 parent 57314f2 commit d96af3e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .idea/runConfigurations/E2E_Tests.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations/Serve.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ describe("AppComponent", () => {
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
}));
it(`should have as title 'app'`, async(() => {
it(`should have as title 's-ng-utils-platform'`, async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual("app");
expect(app.title).toEqual("s-ng-utils-platform");
}));
it("should render title in a h1 tag", async(() => {
const fixture = TestBed.createComponent(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import { Component } from "@angular/core";
styleUrls: ["./app.component.css"],
})
export class AppComponent {
title = "app";
title = "s-ng-utils-platform";
}

0 comments on commit d96af3e

Please sign in to comment.