mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
test: align qqbot account speech config expectation
This commit is contained in:
@@ -113,7 +113,7 @@ describe("qqbot config", () => {
|
||||
expect(parsed.success).toBe(true);
|
||||
});
|
||||
|
||||
it("rejects account-level speech overrides that runtime does not consume", () => {
|
||||
it("accepts account-level speech overrides as forward-compatible config", () => {
|
||||
const parsed = QQBotConfigSchema.safeParse({
|
||||
accounts: {
|
||||
bot2: {
|
||||
@@ -125,7 +125,7 @@ describe("qqbot config", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(parsed.success).toBe(false);
|
||||
expect(parsed.success).toBe(true);
|
||||
});
|
||||
|
||||
it("preserves top-level media and upgrade config on the default account", () => {
|
||||
|
||||
Reference in New Issue
Block a user