Add missing await in tests (#4037)
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user