Skip to content

Commit

Permalink
fix: wrong emit() arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlucian committed Sep 26, 2024
1 parent 6bc63cb commit 6c3ddf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/02-Upgraded-facet.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ describe("[@skip-on-coverage] After facet upgrade, everything is still operation
// buyer withdrawal
const tx2 = await fundsHandler.connect(buyer).withdrawFunds(buyerId, tokenListBuyer, tokenAmountsBuyer);
await expect(tx2)
.to.emit(fundsHandler, "FundsWithdrawn", await buyer.getAddress())
.to.emit(fundsHandler, "FundsWithdrawn")
.withArgs(
buyerId,
await buyer.getAddress(),
Expand Down

0 comments on commit 6c3ddf2

Please sign in to comment.