diff --git a/src/channels/allow-from.test.ts b/src/channels/allow-from.test.ts index 2288d126b1e..78bc69ee572 100644 --- a/src/channels/allow-from.test.ts +++ b/src/channels/allow-from.test.ts @@ -66,7 +66,7 @@ describe("resolveGroupAllowFromSources", () => { groupAllowFrom: [], fallbackToAllowFrom: false, }), - ).toEqual([]); + ).toStrictEqual([]); }); }); diff --git a/src/channels/bundled-channel-catalog-read.fail-soft.test.ts b/src/channels/bundled-channel-catalog-read.fail-soft.test.ts index 6cc95c3ca8d..f775384cc7d 100644 --- a/src/channels/bundled-channel-catalog-read.fail-soft.test.ts +++ b/src/channels/bundled-channel-catalog-read.fail-soft.test.ts @@ -23,6 +23,6 @@ describe("listBundledChannelCatalogEntries discovery failures", () => { "./bundled-channel-catalog-read.js?scope=discovery-fail-soft", ); - expect(catalog.listBundledChannelCatalogEntries()).toEqual([]); + expect(catalog.listBundledChannelCatalogEntries()).toStrictEqual([]); }); }); diff --git a/src/channels/channel-config.test.ts b/src/channels/channel-config.test.ts index 4ab021d19d4..bf8cb1fccd1 100644 --- a/src/channels/channel-config.test.ts +++ b/src/channels/channel-config.test.ts @@ -138,7 +138,7 @@ describe("resolveChannelMatchConfig", () => { describe("validateSenderIdentity", () => { it("allows direct messages without sender fields", () => { const ctx: MsgContext = { ChatType: "direct" }; - expect(validateSenderIdentity(ctx)).toEqual([]); + expect(validateSenderIdentity(ctx)).toStrictEqual([]); }); it("requires some sender identity for non-direct chats", () => { diff --git a/src/channels/mention-gating.test.ts b/src/channels/mention-gating.test.ts index 4a9fff45d98..ad58daebe39 100644 --- a/src/channels/mention-gating.test.ts +++ b/src/channels/mention-gating.test.ts @@ -122,7 +122,7 @@ describe("resolveInboundMentionDecision", () => { }, }); expect(res.implicitMention).toBe(false); - expect(res.matchedImplicitMentionKinds).toEqual([]); + expect(res.matchedImplicitMentionKinds).toStrictEqual([]); expect(res.effectiveWasMentioned).toBe(false); expect(res.shouldSkip).toBe(true); }); @@ -263,6 +263,6 @@ describe("implicitMentionKindWhen", () => { }); it("returns an empty list when disabled", () => { - expect(implicitMentionKindWhen("reply_to_bot", false)).toEqual([]); + expect(implicitMentionKindWhen("reply_to_bot", false)).toStrictEqual([]); }); }); diff --git a/src/channels/turn/kernel.test.ts b/src/channels/turn/kernel.test.ts index 2a9c4049608..dfcee7641b3 100644 --- a/src/channels/turn/kernel.test.ts +++ b/src/channels/turn/kernel.test.ts @@ -546,7 +546,7 @@ describe("channel turn kernel", () => { }, }); - expect(historyMap.get("room-1")).toEqual([]); + expect(historyMap.get("room-1")).toStrictEqual([]); }); it("cleans up pre-created dispatchers when session recording fails", async () => { diff --git a/src/talk/agent-consult-runtime.test.ts b/src/talk/agent-consult-runtime.test.ts index ac6e10ccba4..310ea13140e 100644 --- a/src/talk/agent-consult-runtime.test.ts +++ b/src/talk/agent-consult-runtime.test.ts @@ -73,7 +73,7 @@ describe("realtime voice agent consult runtime", () => { expect(resolveRealtimeVoiceAgentConsultTools("safe-read-only")).toEqual([ expect.objectContaining({ name: REALTIME_VOICE_AGENT_CONSULT_TOOL_NAME }), ]); - expect(resolveRealtimeVoiceAgentConsultTools("none")).toEqual([]); + expect(resolveRealtimeVoiceAgentConsultTools("none")).toStrictEqual([]); expect(resolveRealtimeVoiceAgentConsultToolsAllow("safe-read-only")).toEqual([ "read", "web_search", @@ -83,7 +83,7 @@ describe("realtime voice agent consult runtime", () => { "memory_get", ]); expect(resolveRealtimeVoiceAgentConsultToolsAllow("owner")).toBeUndefined(); - expect(resolveRealtimeVoiceAgentConsultToolsAllow("none")).toEqual([]); + expect(resolveRealtimeVoiceAgentConsultToolsAllow("none")).toStrictEqual([]); }); it("runs an embedded agent using the shared session and prompt contract", async () => { diff --git a/src/talk/agent-consult-tool.test.ts b/src/talk/agent-consult-tool.test.ts index 71344486e3f..0b61a3321ab 100644 --- a/src/talk/agent-consult-tool.test.ts +++ b/src/talk/agent-consult-tool.test.ts @@ -79,7 +79,7 @@ describe("realtime voice agent consult tool", () => { expect(resolveRealtimeVoiceAgentConsultTools("safe-read-only")).toEqual([ expect.objectContaining({ name: REALTIME_VOICE_AGENT_CONSULT_TOOL_NAME }), ]); - expect(resolveRealtimeVoiceAgentConsultTools("none")).toEqual([]); + expect(resolveRealtimeVoiceAgentConsultTools("none")).toStrictEqual([]); expect(resolveRealtimeVoiceAgentConsultToolsAllow("safe-read-only")).toEqual([ "read", "web_search", @@ -89,7 +89,7 @@ describe("realtime voice agent consult tool", () => { "memory_get", ]); expect(resolveRealtimeVoiceAgentConsultToolsAllow("owner")).toBeUndefined(); - expect(resolveRealtimeVoiceAgentConsultToolsAllow("none")).toEqual([]); + expect(resolveRealtimeVoiceAgentConsultToolsAllow("none")).toStrictEqual([]); }); it("keeps the shared consult tool ahead of custom realtime tools and dedupes by name", () => {