addNoteText
should return an object with keys type
and text
.");'
- text: ''
testString: 'assert((function() { const initialState = store.getState(); store.dispatch(addNoteText("__TEST__NOTE")); const newState = store.getState(); return initialState !== newState && newState === "__TEST__NOTE" })(), "Dispatching an action of type ADD_NOTE
with the addNoteText
action creator should update the state
to the string passed to the action creator.");'
```