Skip to content

Commit

Permalink
Remove receiver.fetchState() call in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Feb 25, 2021
1 parent 764fdec commit 5ba2324
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/account_multisig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ describe('account2fa transactions', () => {
receiver = await getAccount2FA(receiver);
const { amount: receiverAmount } = await receiver.state();
await sender.sendMoney(receiver.accountId, new BN(parseNearAmount('1')));
await receiver.fetchState();
const state = await receiver.state();
expect(BigInt(state.amount)).toBeGreaterThanOrEqual(BigInt(new BN(receiverAmount).add(new BN(parseNearAmount('0.9'))).toString()));
});
Expand Down

0 comments on commit 5ba2324

Please sign in to comment.