fix: repair latest main gates

This commit is contained in:
Peter Steinberger
2026-04-06 20:30:09 +01:00
parent 78a948ee32
commit a89f171865
10 changed files with 119 additions and 16 deletions

View File

@@ -71,11 +71,17 @@ describe("installTestEnv", () => {
},
channels: {
telegram: {
streamMode: "block",
chunkMode: "newline",
blockStreaming: true,
draftChunk: {
minChars: 120,
streaming: {
mode: "block",
chunkMode: "newline",
block: {
enabled: true,
},
preview: {
chunk: {
minChars: 120,
},
},
},
},
},
@@ -127,7 +133,7 @@ describe("installTestEnv", () => {
expect(copiedConfig.agents?.defaults?.agentDir).toBeUndefined();
expect(copiedConfig.agents?.list?.[0]?.workspace).toBeUndefined();
expect(copiedConfig.agents?.list?.[0]?.agentDir).toBeUndefined();
expect(copiedConfig.channels?.telegram?.streaming).toMatchObject({
expect(copiedConfig.channels?.telegram?.streaming).toEqual({
mode: "block",
chunkMode: "newline",
block: { enabled: true },