test: remove unreachable cases and strengthen weak assertions
This commit is contained in:
1 parent
169062be11
commit
abfe510ce1
25 files changed
+64
-302
No files matched your search
@@ -24,7 +24,7 @@ describe("ContextPanel", () => {
|
||||
setup = undefined
|
||||
})
|
||||
|
||||
test("omits explanatory copy when no compacted summary exists", async () => {
|
||||
test("renders replay statistics when no compacted summary exists", async () => {
|
||||
setup = await createTestRenderer({ width: 80, height: 18, screenMode: "alternate-screen" })
|
||||
const panel = new ContextPanel(setup.renderer, {
|
||||
text: "#FFFFFF",
|
||||
@@ -37,7 +37,5 @@ describe("ContextPanel", () => {
|
||||
|
||||
const frame = setup.captureCharFrame()
|
||||
expect(frame).toContain("~950 tokens 8 replay 0 archived")
|
||||
expect(frame).not.toContain("Agent context")
|
||||
expect(frame).not.toContain("no compacted summary")
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user