Skip to content

Commit

Permalink
indexer-common: add additional expects to log value of unallocate act…
Browse files Browse the repository at this point in the history
…ion in tests
  • Loading branch information
dwerner committed Aug 30, 2024
1 parent fabf017 commit aebae0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ describe('Allocation Manager', () => {

// Unallocate test action
expect(unallocate.action.type).toBe(ActionType.UNALLOCATE)
expect(unallocate.allocates).toStrictEqual(parseGRT('0'))
expect(unallocate.allocates.isZero()).toBeTruthy()
expect(unallocate.rewards).toStrictEqual(parseGRT('0'))
expect(unallocate.rewards.isZero()).toBeFalsy()
expect(unallocate.unallocates).toStrictEqual(parseGRT('10000'))
expect(unallocate.balance).toStrictEqual(
Expand Down

0 comments on commit aebae0a

Please sign in to comment.