Commit bfd1896f authored by Ward Bell's avatar Ward Bell

chore: change message to "Hello Angular!"

parent f6075a1f
...@@ -29,7 +29,7 @@ describe('AppComponent', function () { ...@@ -29,7 +29,7 @@ describe('AppComponent', function () {
it('should have expected <h1> text', () => { it('should have expected <h1> text', () => {
fixture.detectChanges(); fixture.detectChanges();
const h1 = de.nativeElement; const h1 = de.nativeElement;
expect(h1.innerText).toMatch(/angular app/i, expect(h1.innerText).toMatch(/angular/i,
'<h1> should say something about "Angular App"'); '<h1> should say something about "Angular"');
}); });
}); });
...@@ -2,6 +2,6 @@ import { Component } from '@angular/core'; ...@@ -2,6 +2,6 @@ import { Component } from '@angular/core';
@Component({ @Component({
selector: 'my-app', selector: 'my-app',
template: `<h1>My First Angular App</h1>` template: `<h1>Hello Angular!</h1>`
}) })
export class AppComponent { } export class AppComponent { }
...@@ -2,7 +2,7 @@ import { browser, element, by } from 'protractor'; ...@@ -2,7 +2,7 @@ import { browser, element, by } from 'protractor';
describe('QuickStart E2E Tests', function () { describe('QuickStart E2E Tests', function () {
let expectedMsg = 'My First Angular App'; let expectedMsg = 'Hello Angular!';
beforeEach(function () { beforeEach(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment