actionCreator()
que devuelve el objeto de action
cuando se le llama. actionCreator
debería existir.
testString: 'assert(typeof actionCreator === "function", "The function actionCreator
should exist.");'
- text: Ejecutar la función actionCreator
debe devolver el objeto de acción.
testString: 'assert(typeof action === "object", "Running the actionCreator
function should return the action object.");'
- text: La acción devuelta debe tener un tipo de propiedad clave con el valor LOGIN
.
testString: 'assert(action.type === "LOGIN", "The returned action should have a key property type with value LOGIN
.");'
```