parent
81770aee6b
commit
c7fa461c04
|
@ -65,12 +65,12 @@ code-example(format="" language="html" escape="html").
|
|||
:marked
|
||||
We are writing an Angular application afterall and
|
||||
we were going to need Angular sooner or later. That time has come.
|
||||
The `InitCapsPiep` clearly depends on Angular as is clear in the first few lines:
|
||||
The `InitCapsPipe` clearly depends on Angular as is clear in the first few lines:
|
||||
code-example(format="").
|
||||
import {Pipe} from 'angular2/core';
|
||||
|
||||
@Pipe({ name: 'initCaps' })
|
||||
export class InitCapsPipe {
|
||||
export class InitCapsPipe { ... }
|
||||
:marked
|
||||
**Open** `unit-tests.html`
|
||||
|
||||
|
@ -160,4 +160,4 @@ figure.image-display
|
|||
What about testing parts that *are themselves asynchronous*?
|
||||
|
||||
Let's test a service with a public asynchronous method that fetches heroes
|
||||
from a remote server.
|
||||
from a remote server.
|
||||
|
|
Loading…
Reference in New Issue