Skip to content

Commit

Permalink
Fix getTrades test
Browse files Browse the repository at this point in the history
  • Loading branch information
matextrem committed Apr 21, 2022
1 parent 507750d commit 776d468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/cow/cow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ test('Valid: Get last 5 trades for a given trader ', async () => {
})
expect(fetchMock).toHaveBeenCalledTimes(1)
expect(fetchMock).toHaveBeenCalledWith(
'https://api.cow.fi/rinkeby/api/v1/trades?owner=0x00000000005ef87f8ca7014309ece7260bbcdaeb&limit=5',
`https://api.cow.fi/rinkeby/api/v1/trades?owner=${TRADE_RESPONSE.owner}&limit=5`,
FETCH_RESPONSE_PARAMETERS
)
expect(trades.length).toEqual(5)
Expand Down

0 comments on commit 776d468

Please sign in to comment.