From e78e02d97c1e72cb457e48c0b17bb22942a4fcc5 Mon Sep 17 00:00:00 2001 From: Jeffery Walsh Date: Thu, 17 Nov 2022 16:31:27 -0800 Subject: [PATCH] test fix --- packages/protocol/test/bridge/TokenVault.test.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/protocol/test/bridge/TokenVault.test.ts b/packages/protocol/test/bridge/TokenVault.test.ts index e1aa1ed498a..8522562524c 100644 --- a/packages/protocol/test/bridge/TokenVault.test.ts +++ b/packages/protocol/test/bridge/TokenVault.test.ts @@ -177,7 +177,12 @@ describe("TokenVault", function () { ) ) .to.emit(tokenVault, "EtherSent") - .withArgs(owner.address, destChainId, depositValue, testSignal) + .withArgs( + owner.address, + destChainId, + depositValue - processingFee, + testSignal + ) }) it("succeeds with 0 processingFee", async () => { @@ -204,7 +209,12 @@ describe("TokenVault", function () { ) ) .to.emit(tokenVault, "EtherSent") - .withArgs(owner.address, destChainId, depositValue, testSignal) + .withArgs( + owner.address, + destChainId, + depositValue - processingFee, + testSignal + ) }) }) })