Skip to content

Commit

Permalink
Address code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
drohit-cb committed Nov 26, 2024
1 parent 9da8cc5 commit b28b12b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ describe("Coinbase SDK Stake E2E Test", () => {

expect(rewards).toBeDefined();
// TODO(rohit): Fix code. This should ideally return 20.
expect(rewards.length).toEqual(19);
expect(rewards.length).toBeGreaterThanOrEqual(19);
expect(rewards.length).toBeLessThanOrEqual(20);
});

it("should list shared eth staking rewards via ExternalAddress", async () => {
Expand Down Expand Up @@ -220,7 +221,8 @@ describe("Coinbase SDK Stake E2E Test", () => {

expect(stakingBalances).toBeDefined();
// TODO(rohit): Fix code. This should ideally return 20.
expect(stakingBalances.length).toEqual(19);
expect(stakingBalances.length).toBeGreaterThanOrEqual(19);
expect(stakingBalances.length).toBeLessThanOrEqual(20);
});
});

Expand Down

0 comments on commit b28b12b

Please sign in to comment.