Created
October 21, 2018 21:21
-
-
Save tiagogomes772/1f17e07057d7ebeb4d102d14a610abd2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('should create an action of the type success when trying to get a advice', () => { | |
const expectedAction = { | |
type: 'RESPONSE_ADVICE_SUCCESS', | |
payload: { | |
advice: 'Advice', | |
} | |
}; | |
expect(actions.responseAdviceSuccess({advice: 'Advice'})).toEqual(expectedAction); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment