Skip to content

Instantly share code, notes, and snippets.

@jasongaare
Last active June 8, 2017 14:31
Show Gist options
  • Save jasongaare/29cea34755ae1f50f479b2a1dc386442 to your computer and use it in GitHub Desktop.
Save jasongaare/29cea34755ae1f50f479b2a1dc386442 to your computer and use it in GitHub Desktop.
exports[`Testing log in authentication attempt with correct password succeeds 1`] = `
Array [
Object {
"type": "LOGIN_STARTED",
},
Object {
"type": "PROFILE_UPDATED",
"user": Object { ... },
},
Object {
"account": Object { ... },
"type": "ADD_ACCOUNT",
},
Object {
"type": "LOGIN_SUCCESSFUL",
"user": Object { ... },
},
]
`;
exports[`Testing reducers after LOGOUT action set user to initial state 1`] = `
Object {
"api_key": null,
"isLoggedIn": false,
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment