Add missing await in tests (#4037)

This commit is contained in:
Hadrien Croubois
2023-02-08 22:03:27 +01:00
committed by GitHub
parent d625cb45ea
commit 5b027e517e
3 changed files with 52 additions and 52 deletions

View File

@ -253,7 +253,7 @@ contract('GovernorTimelockCompound', function (accounts) {
expect(await this.token.balanceOf(this.mock.address), 0);
expect(await this.token.balanceOf(other), 1);
expectEvent.inTransaction(txExecute.tx, this.token, 'Transfer', {
await expectEvent.inTransaction(txExecute.tx, this.token, 'Transfer', {
from: this.mock.address,
to: other,
value: '1',