Skip to content

Commit ef18b40

Browse files
sethflowersseantcoyote
authored andcommitted
Clarified testing pure functions in basic docs (reduxjs#1958)
1 parent 2f43f31 commit ef18b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basics/Store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can see how this causes the state held by the store to change:
5858

5959
<img src='http://i.imgur.com/zMMtoMz.png' width='70%'>
6060

61-
We specified the behavior of our app before we even started writing the UI. We won't do this in this tutorial, but at this point you can write tests for your reducers and action creators. You won't need to mock anything because they are just functions. Call them, and make assertions on what they return.
61+
We specified the behavior of our app before we even started writing the UI. We won't do this in this tutorial, but at this point you can write tests for your reducers and action creators. You won't need to mock anything because they are just [pure](../introduction/ThreePrinciples.md#changes-are-made-with-pure-functions) functions. Call them, and make assertions on what they return.
6262

6363
## Source Code
6464

0 commit comments

Comments
 (0)