test: tighten qqbot group config assertion

This commit is contained in:
Shakker
2026-05-11 10:48:08 +01:00
parent 946393a926
commit c4cd22af0b
@@ -16,14 +16,14 @@ describe("engine/config/group", () => {
describe("resolveGroupConfig precedence", () => {
it("returns defaults when no config exists", () => {
const cfg = resolveGroupConfig({}, "G1");
expect(cfg).toMatchObject({
expect(cfg).toStrictEqual({
requireMention: true,
ignoreOtherMentions: false,
toolPolicy: "restricted",
name: "",
prompt: undefined,
historyLimit: DEFAULT_GROUP_HISTORY_LIMIT,
});
expect(cfg.prompt).toBeUndefined();
});
it("falls back to wildcard when specific is missing", () => {