From ec23ea15640e8c9a8a30610b2a983f78fd5bbb84 Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Fri, 21 Aug 2026 15:38:42 -0400 Subject: [PATCH] test(tui): isolate lifecycle storage --- packages/tui/test/app-lifecycle.test.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/tui/test/app-lifecycle.test.tsx b/packages/tui/test/app-lifecycle.test.tsx index 023b55b2e6d..dfba3f58d47 100644 --- a/packages/tui/test/app-lifecycle.test.tsx +++ b/packages/tui/test/app-lifecycle.test.tsx @@ -31,7 +31,7 @@ test("SIGHUP clears title and disposes scoped resources once", async () => { const { run } = await import("../src/app") const task = Effect.runPromise( run({ - app: { name: "test", version: "test", channel: "test" }, + app: { name: "test", version: "test", channel: "test-sighup" }, server: { endpoint: { url: server.url.toString() } }, config: { get: async () => ({}), update: async () => ({}) }, packages: { resolve: async () => undefined }, @@ -107,7 +107,7 @@ test("session lifecycle updates the terminal title and prints the epilogue after const { run } = await import("../src/app") const task = Effect.runPromise( run({ - app: { name: "test", version: "test", channel: "test" }, + app: { name: "test", version: "test", channel: "test-session-title" }, server: { endpoint: { url: server.url.toString() } }, config: { get: async () => ({}), update: async () => ({}) }, packages: { resolve: async () => undefined }, @@ -183,7 +183,7 @@ test("session title generated while an untitled session is loading remains visib const { run } = await import("../src/app") const task = Effect.runPromise( run({ - app: { name: "test", version: "test", channel: "test" }, + app: { name: "test", version: "test", channel: "test-generated-title" }, server: { endpoint: { url: server.url.toString() } }, config: { get: async () => ({}), update: async () => ({}) }, packages: { resolve: async () => undefined }, @@ -276,7 +276,7 @@ test("session startup prompt is submitted exactly once", async () => { const { run } = await import("../src/app") const task = Effect.runPromise( run({ - app: { name: "test", version: "test", channel: "test" }, + app: { name: "test", version: "test", channel: "test-startup-prompt" }, server: { endpoint: { url: server.url.toString() } }, config: { get: async () => ({}), update: async () => ({}) }, packages: { resolve: async () => undefined }, @@ -316,7 +316,7 @@ test("configured app bindings execute settings and permission commands", async ( const { run } = await import("../src/app") const task = Effect.runPromise( run({ - app: { name: "test", version: "test", channel: "test" }, + app: { name: "test", version: "test", channel: "test-bindings" }, server: { endpoint: { url: server.url.toString() } }, config: { get: async () => ({