Skip to content

Commit

Permalink
Removed required moduleHash test
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelpapineau committed Nov 16, 2023
1 parent bebc08b commit d9eb748
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/websocket/parseMessage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d9eb748

Please sign in to comment.