Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Nov 18, 2022
1 parent 905a2fd commit e78e02d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/protocol/test/bridge/TokenVault.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -204,7 +209,12 @@ describe("TokenVault", function () {
)
)
.to.emit(tokenVault, "EtherSent")
.withArgs(owner.address, destChainId, depositValue, testSignal)
.withArgs(
owner.address,
destChainId,
depositValue - processingFee,
testSignal
)
})
})
})

0 comments on commit e78e02d

Please sign in to comment.