Skip to content

Commit

Permalink
test(Swap): tests healed
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-blockchain committed Dec 13, 2018
1 parent 296ee03 commit 2728676
Show file tree
Hide file tree
Showing 5 changed files with 652 additions and 1,172 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ describe('analyticsSagas', () => {
})
describe('Exchange clicked', () => {
let { logLeftNavClick } = analyticsSagas({ api })
let payload = makeAction('Exchange')
let payload = makeAction('Swap')
let saga = testSaga(logLeftNavClick, payload)

it('should call api.logClick with exchange', () => {
saga.next().call(api.logClick, 'exchange')
saga.next().call(api.logClick, 'swap')
})
})
describe('Security Center clicked', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ exports[`ExchangeByBlockchain renders correctly with exchange link 1`] = `
>
<ExchangeByBlockchain__GetStartedButton>
<FormattedMessage
defaultMessage="Go To Exchange"
id="layouts.wallet.trayright.whatsnew.whatsnewcontent.exchangebyblockchain.gotoexchange"
defaultMessage="Make Swap"
id="layouts.wallet.trayright.whatsnew.whatsnewcontent.exchangebyblockchain.makeswap"
values={Object {}}
/>
</ExchangeByBlockchain__GetStartedButton>
Expand Down

0 comments on commit 2728676

Please sign in to comment.