Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JCSanPedro committed Aug 6, 2024
1 parent a1ad661 commit d68141c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/paymets/rewardsManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@ describe('Rewards Manager', () => {
await setTimeSinceStart(1000);

await testClaim(node1.getAddress(), user, 1, rewardAmount);

const unclaimedReward = await rewardsManager.getUnclaimedReward(
node1.getAddress(),
user.address,
1,
);

expect(unclaimedReward).to.equal(0);
});

it('can claim reward over multiple cycles', async () => {
Expand Down

0 comments on commit d68141c

Please sign in to comment.