Skip to content

Commit 6feb652

Browse files
quickbeardclaude
andcommitted
test(tui): update session epilogue assertions to the codev command string
The fork rebranded the session-continuation command from `opencode -s` to `codev -s`, but two epilogue tests still asserted the old string and failed on `main`. Point them at `codev -s` to match the shipped output. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent aeb50a4 commit 6feb652

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/tui/test/app-lifecycle.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ test("app.exit prints the session epilogue after scoped cleanup", async () => {
119119
await task
120120

121121
expect(stdout).toContain("Demo session")
122-
expect(stdout).toContain("opencode -s dummy")
122+
expect(stdout).toContain("codev -s dummy")
123123
} finally {
124124
process.stdout.write = originalWrite
125125
if (!setup.renderer.isDestroyed) setup.renderer.destroy()

‎packages/tui/test/util/presentation.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { sessionEpilogue } from "../../src/util/presentation"
44
test("formats session continuation summary", () => {
55
const epilogue = sessionEpilogue({ title: "A session", sessionID: "ses_123" })
66
expect(epilogue).toContain("A session")
7-
expect(epilogue).toContain("opencode -s ses_123")
7+
expect(epilogue).toContain("codev -s ses_123")
88
})

0 commit comments

Comments
 (0)