add time for schedule test

This commit is contained in:
woodser 2022-09-23 17:34:49 -04:00
parent 14c7d67991
commit 161af65687

View File

@ -1130,6 +1130,7 @@ test("Can schedule offers with locked funds", async () => {
await waitForAvailableBalance(outputAmt, user3);
// one output is reserved, one is unlocked
await wait(TestConfig.walletSyncPeriodMs);
expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt);
expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0));
expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt);