Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
bfd1896f
Commit
bfd1896f
authored
Nov 04, 2016
by
Ward Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: change message to "Hello Angular!"
parent
f6075a1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/app.component.spec.ts
app/app.component.spec.ts
+2
-2
app/app.component.ts
app/app.component.ts
+1
-1
e2e/app.e2e-spec.ts
e2e/app.e2e-spec.ts
+1
-1
No files found.
app/app.component.spec.ts
View file @
bfd1896f
...
@@ -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"
'
);
});
});
});
});
app/app.component.ts
View file @
bfd1896f
...
@@ -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
{
}
e2e/app.e2e-spec.ts
View file @
bfd1896f
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment