style(coding-agent/acp): wrap long createAcpExtensionUiContext test call-sites
`biome check` enforces print-width on the two test-only call-sites that `ast_edit` collapsed onto a single line during the sessionId-getter rewrite. Auto-formatter wrap, no behavior change. Co-Authored-By: omp <noreply@oh-my-pi.dev>
This commit is contained in:
@@ -1052,7 +1052,11 @@ describe("ACP agent", () => {
|
||||
action: "accept",
|
||||
content: { value: "yes" },
|
||||
}));
|
||||
const boolCtx = createAcpExtensionUiContext(stringForBool.connection, () => "session-wrongtype-bool", FORM_CAPABILITIES);
|
||||
const boolCtx = createAcpExtensionUiContext(
|
||||
stringForBool.connection,
|
||||
() => "session-wrongtype-bool",
|
||||
FORM_CAPABILITIES,
|
||||
);
|
||||
expect(await boolCtx.confirm("Proceed?", "")).toBe(false);
|
||||
|
||||
// select expects a string; a boolean `value` must narrow to `undefined`.
|
||||
@@ -1060,7 +1064,11 @@ describe("ACP agent", () => {
|
||||
action: "accept",
|
||||
content: { value: true },
|
||||
}));
|
||||
const selectCtx = createAcpExtensionUiContext(boolForString.connection, () => "session-wrongtype-str", FORM_CAPABILITIES);
|
||||
const selectCtx = createAcpExtensionUiContext(
|
||||
boolForString.connection,
|
||||
() => "session-wrongtype-str",
|
||||
FORM_CAPABILITIES,
|
||||
);
|
||||
expect(await selectCtx.select("Pick", ["a"])).toBeUndefined();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user