Skip to content

Commit

Permalink
Fixed incorrect function name in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeach committed Aug 3, 2018
1 parent 0c05371 commit a0116cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,16 @@ testComponent(SubjectComponent)
.begin()
```

Once `.begin()` is called you can add new output watches with `onChanges()`
Once `.begin()` is called you can add new output watches with `onOutput()`

```typescript
import {testComponent, onChanges} from "ng-unit"
import {testComponent, onOutput} from "ng-unit"

testComponent(SubjectComponent)
.onOutput("save", event => persist(event))
.begin()

onChanges("save", event => console.log(event))
onOutput("save", event => console.log(event))
```

#### Providing providers
Expand Down

0 comments on commit a0116cc

Please sign in to comment.