From 0456132ad622b7aa0725a427ffb4f3833c29541c Mon Sep 17 00:00:00 2001 From: Howard Xie Date: Tue, 17 Sep 2024 13:11:28 -0700 Subject: [PATCH] Update webhook_test.ts --- src/tests/webhook_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/webhook_test.ts b/src/tests/webhook_test.ts index 82ccd196..c1a7e226 100644 --- a/src/tests/webhook_test.ts +++ b/src/tests/webhook_test.ts @@ -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' }`, ); }); });