Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log sendSignal for testing #77

Merged
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

update unit test
  • Loading branch information
trickpattyFH20 committed May 23, 2018
commit f7980237e54810cfb05163010d4aceb0e9bca69b
@@ -93,7 +93,8 @@ describe('app/panel/actions/RewardsActions.js', () => {

const actionId = 'action_id';
const offerId = 'offer_id';
const expectedPayload = { data: { actionId, offerId }, type: SEND_SIGNAL };
const origin = 'rewards-panel';
const expectedPayload = { data: { actionId, offerId, origin }, type: SEND_SIGNAL };
store.dispatch(rewardsActions.sendSignal(actionId, offerId));

const actions = store.getActions();
ProTip! Use n and p to navigate between commits in a pull request.