fix(ci): restore session and setup fallbacks

This commit is contained in:
Peter Steinberger
2026-04-04 03:50:43 +01:00
parent 3c23126980
commit a3a06524f2
6 changed files with 54 additions and 32 deletions

View File

@@ -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();
}
});