Skip to content

Commit

Permalink
chore: snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Nov 5, 2024
1 parent 01e28e6 commit 038388f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/core/src/actions/waitForTransactionReceipt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,19 @@ test('behavior: transaction reverted', async () => {
waitForTransactionReceipt(config, {
hash: '0x745367f76807d411b7fa4c3a552a62e3e45303ef40145fff04d84b867c2575d3',
}),
).rejects.toThrowErrorMatchingInlineSnapshot('[Error: unknown reason]')
).rejects.toThrowErrorMatchingInlineSnapshot(`
[CallExecutionError: Execution reverted with reason: PartyBid::claim: contribution already claimed.
Raw Call Arguments:
to: 0xf1332f21487e74612ed3a0fb36da729b73f1ae19
value: 0 ETH
data: 0x1e83409a000000000000000000000000a0cf798816d4b9b9866b5330eea46a18382f251e
gas: 128730
maxFeePerGas: 43.307900987 gwei
maxPriorityFeePerGas: 1.5 gwei
nonce: 43
Details: execution reverted: PartyBid::claim: contribution already claimed
Version: [email protected]]
`)
})

0 comments on commit 038388f

Please sign in to comment.