Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

wip(large-pages): backstop test pages get_chunks explicitly

garrytand1ecc6b9341d
diff --git a/test/egress-backstop.test.ts b/test/egress-backstop.test.ts
index 8d55830287..f21f289a1e 100644
--- a/test/egress-backstop.test.ts
+++ b/test/egress-backstop.test.ts
@@ -60,7 +60,7 @@ describe('caps', () => {
describe('dispatch backstop', () => {
test('an oversized read is result_too_large with the measured size, nothing cut', async () => {
const config = { engine: 'pglite', mcp: { max_result_bytes_stdio: EGRESS_CAP_MIN } } as any;
- const out = await dispatchToolCall(engine, 'get_chunks', { slug: 'logs/wide' }, { remote: true, transport: 'stdio', sourceId: 'default', config });
+ const out = await dispatchToolCall(engine, 'get_chunks', { slug: 'logs/wide', limit: 500 }, { remote: true, transport: 'stdio', sourceId: 'default', config });
expect(out.isError).toBe(true);
const env = JSON.parse(out.content[0].text);
expect(env.code ?? env.error).toBe('result_too_large');