From b348cdd1f1c24ddcd8e1c6410d5ccdebe9e1e5b1 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 23:58:50 +0100 Subject: [PATCH] test: specify googlechat capability proof set --- extensions/googlechat/src/channel.test.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/extensions/googlechat/src/channel.test.ts b/extensions/googlechat/src/channel.test.ts index badc399afd7..64967259875 100644 --- a/extensions/googlechat/src/channel.test.ts +++ b/extensions/googlechat/src/channel.test.ts @@ -285,10 +285,20 @@ describe("googlechatPlugin outbound sendMedia", () => { }, }, }); - expect(proofs).toContainEqual({ capability: "text", status: "verified" }); - expect(proofs).toContainEqual({ capability: "media", status: "verified" }); - expect(proofs).toContainEqual({ capability: "thread", status: "verified" }); - expect(proofs).toContainEqual({ capability: "messageSendingHooks", status: "verified" }); + expect(proofs).toStrictEqual([ + { capability: "text", status: "verified" }, + { capability: "media", status: "verified" }, + { capability: "payload", status: "not_declared" }, + { capability: "silent", status: "not_declared" }, + { capability: "replyTo", status: "not_declared" }, + { capability: "thread", status: "verified" }, + { capability: "nativeQuote", status: "not_declared" }, + { capability: "messageSendingHooks", status: "verified" }, + { capability: "batch", status: "not_declared" }, + { capability: "reconcileUnknownSend", status: "not_declared" }, + { capability: "afterSendSuccess", status: "not_declared" }, + { capability: "afterCommit", status: "not_declared" }, + ]); }); it("chunks outbound text without requiring Google Chat runtime initialization", () => {