test: fix post-merge config and tui command-handler tests

This commit is contained in:
Peter Steinberger
2026-02-24 04:38:04 +00:00
parent 6ea1607f1c
commit 2d6d6797d8
3 changed files with 28 additions and 2 deletions

View File

@@ -85,7 +85,17 @@ describe("browser state option collisions", () => {
it("resolves --url via parent when addGatewayClientOptions captures it", async () => {
const program = createBrowserProgram({ withGatewayUrl: true });
await program.parseAsync(
["browser", "--url", "ws://gw", "cookies", "set", "session", "abc", "--url", "https://example.com"],
[
"browser",
"--url",
"ws://gw",
"cookies",
"set",
"session",
"abc",
"--url",
"https://example.com",
],
{ from: "user" },
);
const call = mocks.callBrowserRequest.mock.calls.at(-1);