diff --git a/extensions/tlon/src/urbit/sse-client.test.ts b/extensions/tlon/src/urbit/sse-client.test.ts index da47b9ef8df..b92f3b5f1a6 100644 --- a/extensions/tlon/src/urbit/sse-client.test.ts +++ b/extensions/tlon/src/urbit/sse-client.test.ts @@ -49,8 +49,10 @@ describe("UrbitSSEClient", () => { const body = JSON.parse(callArgs.init?.body as string); expect(body).toHaveLength(1); - expect(body[0]).toMatchObject({ + expect(body[0]).toEqual({ + id: 1, action: "subscribe", + ship: "example", app: "chat", path: "/dm/~zod", }); @@ -72,7 +74,10 @@ describe("UrbitSSEClient", () => { expect(mockUrbitFetch).not.toHaveBeenCalled(); // But subscription should be queued expect(client.subscriptions).toHaveLength(1); - expect(client.subscriptions[0]).toMatchObject({ + expect(client.subscriptions[0]).toEqual({ + id: 1, + action: "subscribe", + ship: "example", app: "chat", path: "/dm/~zod", });