Skip to content

Commit b331df7

Browse files
test(server): hoist evaluate decoder and update tool list budget
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 5844505 commit b331df7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/server/src/preview/ServerBrowserPage.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import {
2020

2121
import * as ServerBrowserPage from "./ServerBrowserPage.ts";
2222

23+
const decodeEvaluateInput = Schema.decodeUnknownSync(PreviewAutomationEvaluateInput);
24+
2325
describe("server browser element refs", () => {
2426
let browser: Browser;
2527
let context: BrowserContext;
@@ -291,7 +293,7 @@ describe("server browser element refs", () => {
291293
});
292294

293295
it("returns object contents even when a legacy caller asks for a remote reference", async () => {
294-
const input = Schema.decodeUnknownSync(PreviewAutomationEvaluateInput)({
296+
const input = decodeEvaluateInput({
295297
expression: "({ answer: 42, nested: { ready: true } })",
296298
returnByValue: false,
297299
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"claudeSystemAppendBytes": 5597,
33
"codexAdditionalContextBytes": 7327,
4-
"mcpToolListJsonBytes": 48217
4+
"mcpToolListJsonBytes": 48131
55
}

0 commit comments

Comments
 (0)