Skip to content

Commit

Permalink
Update webhook_test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-at-cb committed Sep 17, 2024
1 parent a1c3a40 commit 0456132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/webhook_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ describe("Webhook", () => {
const webhook = Webhook.init(mockModel);
const stringRepresentation = webhook.toString();
expect(stringRepresentation).toBe(
`Webhook { id: 'test-id', networkId: 'test-network', eventType: 'erc20_transfer', eventFilter: [{"contract_address":"0x...","from_address":"0x...","to_address":"0x..."}], eventTypeFilter: {"addresses": ["0xa55C5950F7A3C42Fa5799B2Cac0e455774a07382"], "wallet_id": "w1"},notificationUri: 'https://example.com/callback', signatureHeader: 'example_header' }`,
`Webhook { id: 'test-id', networkId: 'test-network', eventType: 'erc20_transfer', eventFilter: [{"contract_address":"0x...","from_address":"0x...","to_address":"0x..."}], eventTypeFilter: {"addresses":["0xa55C5950F7A3C42Fa5799B2Cac0e455774a07382"],"wallet_id":"w1"},notificationUri: 'https://example.com/callback', signatureHeader: 'example_header' }`,
);
});
});
Expand Down

0 comments on commit 0456132

Please sign in to comment.