test: prune redundant and implementation-coupled coverage

This commit is contained in:
morluto committed 2026-11-17 18:48:24 -05:00
1 parent 14b15ba8a5
commit 48e27e19b7
191 files changed
+2757 -5418

No files matched your search

@@ -94,26 +94,7 @@ describe("successful CLI token windows", () => {
},
);
it("does not reformat a fitting ordinary result", async () => {
let reads = 0;
const page = await renderWindow(
{
get text() {
reads++;
return "abcdefghij";
},
},
0,
1000,
);
expect(page.handled).toBe(true);
// TOON reads this property once per formatting pass.
expect(reads).toBe(1);
expect(page.text).toBe("text: abcdefghij\n");
});
it.each([
{ terminal: false, formatExplicit: false },
{ terminal: true, formatExplicit: false },
{ terminal: true, formatExplicit: true },
])(
@@ -181,7 +162,7 @@ describe("successful CLI token windows", () => {
);
});
describe("token windows through Incur output policies", () => {
describe("token windows and CLI presentation policy", () => {
it.each([{ windowFlags: [] }, { windowFlags: ["--token-limit", "2"] }])(
"retains filtered typed failures despite suppressed human results ($windowFlags)",
async ({ windowFlags }) => {