Skip to content

Commit

Permalink
Fix incorrect method reference (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
jethas-bennettjones authored Jul 6, 2021
1 parent 9a092e4 commit a98b87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ The host method returns an instance of `SpectatorHost` which extends `Spectator`
- `queryHostAll` - Read more about querying in Spectator

### Custom Host Component
Sometimes it's helpful to pass your own host implementation. We can pass a custom host component to the `createHostComponentFactory()` that will replace the default one:
Sometimes it's helpful to pass your own host implementation. We can pass a custom host component to the `createHostFactory()` that will replace the default one:

```ts
@Component({ selector: 'custom-host', template: '' })
Expand Down

0 comments on commit a98b87d

Please sign in to comment.