Skip to content

Commit

Permalink
chore(docs): Fix spyOn arguments example (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharikovvladislav authored and brandonroberts committed Aug 8, 2017
1 parent 84390a1 commit a4609e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/store/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('My Component', () => {

store = TestBed.get(Store);

spyOn(store.dispatch).and.callThrough();
spyOn(store, 'dispatch').and.callThrough();

fixture = TestBed.createComponent(MyComponent);
component = fixture.componentInstance;
Expand Down

0 comments on commit a4609e5

Please sign in to comment.