fix: align Linux background lifecycle

This commit is contained in:
2026-08-01 21:16:05 +09:00
parent 845dde50ad
commit 82f29f0bd2
7 changed files with 106 additions and 2 deletions
+8
View File
@@ -53,6 +53,14 @@ test("explicit ozone CLI argument wins and URL arguments pass through", () => {
]);
});
test("hidden autostart argument passes through to Electron", () => {
const setup = fixture();
assert.deepEqual(runLauncher(setup, ["--autostart"]), [
"--ozone-platform=x11",
"--autostart",
]);
});
test("launcher limits optional CDP to localhost", () => {
const setup = fixture();
assert.deepEqual(runLauncher(setup, [], { NANI_CDP_PORT: "9222" }), [