From 28e5a056ba49404eb0a1307297452420cdf7e9ae Mon Sep 17 00:00:00 2001 From: Erwan Beauvois Date: Sat, 11 Jun 2022 16:25:30 +0200 Subject: [PATCH] fix balancergaugestaker test (missing await) --- test/integration/tests/metagov/BalancerGaugeStaker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/tests/metagov/BalancerGaugeStaker.ts b/test/integration/tests/metagov/BalancerGaugeStaker.ts index ebdc05e52..db60f65fd 100644 --- a/test/integration/tests/metagov/BalancerGaugeStaker.ts +++ b/test/integration/tests/metagov/BalancerGaugeStaker.ts @@ -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',