actionCreator()
that returns the action
object when called.
actionCreator
should exist.
testString: assert(typeof actionCreator === 'function');
- text: Running the actionCreator
function should return the action object.
testString: assert(typeof action === 'object');
- text: The returned action should have a key property type with value LOGIN
.
testString: assert(action.type === 'LOGIN');
```