Skip to content

Commit 3dec69a

Browse files
committed
tests: up
1 parent d0eb2ec commit 3dec69a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/utils/rpc/webSocket.test.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -487,15 +487,15 @@ describe.runIf(process.env.VITE_NETWORK_TRANSPORT_MODE === 'webSocket')(
487487
),
488488
).resolves.toMatchInlineSnapshot(
489489
`
490-
{
491-
"error": {
492-
"code": -32602,
493-
"message": "data did not match any variant of untagged enum EthRpcCall",
494-
},
495-
"id": 1,
496-
"jsonrpc": "2.0",
497-
}
498-
`,
490+
{
491+
"error": {
492+
"code": -32602,
493+
"message": "data did not match any variant of untagged enum EthRpcCall",
494+
},
495+
"id": 1,
496+
"jsonrpc": "2.0",
497+
}
498+
`,
499499
)
500500
expect(socketClient.requests.size).toBe(0)
501501
})
@@ -517,13 +517,13 @@ describe.runIf(process.env.VITE_NETWORK_TRANSPORT_MODE === 'webSocket')(
517517
),
518518
).rejects.toThrowErrorMatchingInlineSnapshot(
519519
`
520-
[WebSocketRequestError: WebSocket request failed.
520+
[WebSocketRequestError: WebSocket request failed.
521521
522-
URL: http://localhost
523-
Request body: {"jsonrpc":"2.0","id":3,"method":"wagmi_lol"}
522+
URL: http://localhost
523+
Request body: {"jsonrpc":"2.0","id":1,"method":"wagmi_lol"}
524524
525-
526-
`,
525+
526+
`,
527527
)
528528
await wait(100)
529529
})

0 commit comments

Comments
 (0)