mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 20:10:24 +00:00
fix(ci): restore session and setup fallbacks
This commit is contained in:
@@ -47,9 +47,10 @@ describe("config validation allowed-values metadata", () => {
|
||||
|
||||
expect(result.ok).toBe(false);
|
||||
if (!result.ok) {
|
||||
const issue = result.issues.find((entry) => entry.path === "channels.telegram.streaming");
|
||||
const issue = result.issues.find((entry) => entry.path === "channels.telegram");
|
||||
expect(issue).toBeDefined();
|
||||
expect(issue?.allowedValues).toEqual(["off", "partial", "block", "progress"]);
|
||||
expect(issue?.message).toContain('channels.telegram.streaming="off|partial|block"');
|
||||
expect(issue?.allowedValues).toBeUndefined();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user