Skip to content

Commit

Permalink
fix ts-test
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjj9219 committed Oct 17, 2023
1 parent bcafedc commit cd48325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts-tests/tests/test-balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ describeWithAcala("Acala RPC (Balance)", (context) => {
expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995937431778000000");

await transfer(context, alice.substrateAddress, alice_stash.substrateAddress, 1000);
expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999992033958023000000");
expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999992037566906000000");
expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995937432778000000");
expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999992033958023000000");
expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999992037566906000000");
expect((await context.provider.getBalance(alice_stash.getAddress(), "earliest")).toString()).to.equal("0");
});
});

0 comments on commit cd48325

Please sign in to comment.