Skip to content

Commit

Permalink
fix reserve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Sep 17, 2023
1 parent 5d6683b commit 8f5ab5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/testcases/run_in_band/reserve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ describe('Neutron / Treasury', () => {
});
expect(stats).toEqual(
expect.objectContaining({
total_distributed: '42013',
total_reserved: `${158050 + parseInt(reserveStats.total_reserved)}`,
total_distributed: '42014',
total_reserved: `${158053 + parseInt(reserveStats.total_reserved)}`,
total_processed_burned_coins: `${
parseInt(burnedCoinsAfter!) -
parseInt(burnedCoinsBefore!) +
Expand All @@ -298,7 +298,7 @@ describe('Neutron / Treasury', () => {
NEUTRON_DENOM,
);
expect(treasuryBalance - lastTreasuryBalance).toEqual(
158050 + parseInt(reserveStats.total_reserved),
158053 + parseInt(reserveStats.total_reserved),
);
lastTreasuryBalance = treasuryBalance;
});
Expand All @@ -308,7 +308,7 @@ describe('Neutron / Treasury', () => {
});
expect(pending).toEqual([
[holder1Addr.toString(), '14005'],
[holder2Addr.toString(), '28008'],
[holder2Addr.toString(), '28009'],
]);
});
test('claim pending', async () => {
Expand Down

0 comments on commit 8f5ab5d

Please sign in to comment.