loginAction
should return an object with type
property set to the string LOGIN
.");'
- text: ''
testString: 'assert(store.getState().login === false, "The store should be initialized with an object with property login
set to false
.");'
- text: ''
testString: 'getUserInput => assert((function() { let noWhiteSpace = getUserInput("index").replace(/\s/g,""); return noWhiteSpace.includes("store.dispatch(loginAction())") || noWhiteSpace.includes("store.dispatch({type: \"LOGIN\"})") === true })(), "The store.dispatch()
method should be used to dispatch an action of type LOGIN
.");'
```