mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
test: tighten qqbot group config assertion
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user