Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit bfd1896

Browse files
committed
chore: change message to "Hello Angular!"
1 parent f6075a1 commit bfd1896

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/app.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('AppComponent', function () {
2929
it('should have expected <h1> text', () => {
3030
fixture.detectChanges();
3131
const h1 = de.nativeElement;
32-
expect(h1.innerText).toMatch(/angular app/i,
33-
'<h1> should say something about "Angular App"');
32+
expect(h1.innerText).toMatch(/angular/i,
33+
'<h1> should say something about "Angular"');
3434
});
3535
});

app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { Component } from '@angular/core';
22

33
@Component({
44
selector: 'my-app',
5-
template: `<h1>My First Angular App</h1>`
5+
template: `<h1>Hello Angular!</h1>`
66
})
77
export class AppComponent { }

e2e/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { browser, element, by } from 'protractor';
22

33
describe('QuickStart E2E Tests', function () {
44

5-
let expectedMsg = 'My First Angular App';
5+
let expectedMsg = 'Hello Angular!';
66

77

88
beforeEach(function () {

0 commit comments

Comments
 (0)