test: tighten google meet node host assertion

This commit is contained in:
Shakker
2026-05-10 23:03:19 +01:00
parent 7df994f782
commit 5c7b203de6

View File

@@ -177,9 +177,12 @@ describe("google-meet node host bridge sessions", () => {
),
);
expect(start).toMatchObject({
expect(typeof start.bridgeId).toBe("string");
expect(start.bridgeId.length).toBeGreaterThan(0);
expect(start).toEqual({
audioBridge: { type: "node-command-pair" },
bridgeId: expect.any(String),
bridgeId: start.bridgeId,
launched: false,
});
const activeList = JSON.parse(