Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
joldie777 committed Sep 19, 2024
1 parent 421240b commit 76a34b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/testcases/run_in_band/interchain_kv_query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,11 @@ describe('Neutron / Interchain KV Query', () => {
});

test('register icq #7: balance', async () => {
const updatePeriod = (await neutronClient.getHeight()) + 1_000_000;

await registerBalancesQuery(
neutronClient,
contractAddress,
connectionId,
updatePeriod,
1_000_000,
[COSMOS_DENOM],
testState.wallets.cosmos.val1.address,
);
Expand Down Expand Up @@ -860,7 +858,7 @@ describe('Neutron / Interchain KV Query', () => {
async (response) =>
response.registered_query.last_submitted_result_local_height > 0 &&
response.registered_query.last_submitted_result_local_height + 5 <
(await neutronClient.getHeight()),
(await neutronClient.getHeight()),

Check failure on line 861 in src/testcases/run_in_band/interchain_kv_query.test.ts

View workflow job for this annotation

GitHub Actions / Actions - lint

Insert `··`
20,
);

Expand All @@ -887,7 +885,7 @@ describe('Neutron / Interchain KV Query', () => {
return (
balances[0].denom === beforeBalances[0].denom &&
parseInt(balances[0].amount || '0') >
parseInt(beforeBalances[0].amount || '0')
parseInt(beforeBalances[0].amount || '0')

Check failure on line 888 in src/testcases/run_in_band/interchain_kv_query.test.ts

View workflow job for this annotation

GitHub Actions / Actions - lint

Insert `··`
);
},

Expand Down

0 comments on commit 76a34b9

Please sign in to comment.