Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed May 9, 2018
1 parent 7b83e44 commit fbc19de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ describe('App Store Config', () => {
expect(fetch.mock.calls[0][0]).toEqual('/Resources/wallet-options-v4.json')
// socket registration
expect(Socket.mock.calls.length).toEqual(3)
expect(Socket.mock.calls[0][0]).toEqual({ options: fakeWalletOptions, socketType: 'btcSocket' })
expect(Socket.mock.calls[1][0]).toEqual({ options: fakeWalletOptions, socketType: 'ethSocket' })
expect(Socket.mock.calls[2][0]).toEqual({ options: fakeWalletOptions, socketType: 'bchSocket' })
expect(Socket.mock.calls[0][0]).toEqual({ options: fakeWalletOptions, socketType: '' })
expect(Socket.mock.calls[1][0]).toEqual({ options: fakeWalletOptions, socketType: '/eth' })
expect(Socket.mock.calls[2][0]).toEqual({ options: fakeWalletOptions, socketType: '/bch' })
// build api
expect(createWalletApi.mock.calls.length).toBe(1)
expect(createWalletApi.mock.calls[0][0]).toEqual({
Expand Down

0 comments on commit fbc19de

Please sign in to comment.