Skip to content

Commit

Permalink
fix balancergaugestaker test (missing await)
Browse files Browse the repository at this point in the history
  • Loading branch information
eswak committed Jun 11, 2022
1 parent a61264e commit 28e5a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/tests/metagov/BalancerGaugeStaker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('e2e-metagov', function () {

it('should work if user has PCV_CONTROLLER_ROLE role', async function () {
const balanceBefore = await contracts.bal.balanceOf(daoSigner.address);
expectEvent(
await expectEvent(
staker.connect(daoSigner).withdrawERC20(contracts.bal.address, daoSigner.address, '10'),
staker,
'WithdrawERC20',
Expand Down

0 comments on commit 28e5a05

Please sign in to comment.