Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Modify test so that it actually does multiple paginated requests unde…
Browse files Browse the repository at this point in the history
…r-the-hood
  • Loading branch information
fabioberger committed Jan 14, 2020
1 parent 6816131 commit c66e79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/clients/typescript/test/ws_client_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ blockchainTests.resets('WSClient', env => {
// timestamp is approximately equal (within 1 second) because the server
// will receive the request slightly after it is sent.
const now = new Date(Date.now()).getTime();
const perPage = 10;
const perPage = ordersLength / 2;
const response = await deployment.client.getOrdersAsync(perPage);
assertRoughlyEquals(now, response.snapshotTimestamp * secondsToMs(1), secondsToMs(2));

Expand Down

0 comments on commit c66e79f

Please sign in to comment.