From d9eb7482e47f5673150f3a341b648767b245c0cd Mon Sep 17 00:00:00 2001 From: Samuel Papineau Date: Thu, 16 Nov 2023 00:04:59 -0500 Subject: [PATCH] Removed required moduleHash test --- src/websocket/parseMessage.spec.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/websocket/parseMessage.spec.ts b/src/websocket/parseMessage.spec.ts index 5e0dd7d..2723f5c 100644 --- a/src/websocket/parseMessage.spec.ts +++ b/src/websocket/parseMessage.spec.ts @@ -26,15 +26,6 @@ test("parseMessage - Missing required 'params' in JSON request.", () => { }`)).toThrow("Missing required 'params' in JSON request."); }); -test("parseMessage - Missing required 'moduleHash' in JSON request.", () => { - expect(() => parseMessage(`{ - "method": "subscribe", - "params": { - "chain": "bsc" - } - }`)).toThrow("Missing required 'moduleHash' in JSON request."); -}); - test("parseMessage - ping", () => { expect(parseMessage(`{ "method": "ping"