Skip to content

Commit 8c70240

Browse files
committed
test: remove redundant force-compaction test
1 parent 95ff580 commit 8c70240

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/browser/utils/compaction/autoCompactionCheck.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,6 @@ describe("checkAutoCompaction", () => {
305305
// Force-compact triggers at threshold + 5%
306306
// With default 70% threshold, force-compact at 75%
307307

308-
test("shouldForceCompact is false when usage below threshold + 5%", () => {
309-
// 70% usage, threshold 70%, force at 75% - should NOT trigger
310-
const usage = createMockUsage(140_000); // 70%
311-
const result = checkAutoCompaction(usage, KNOWN_MODELS.SONNET.id, false);
312-
313-
expect(result.shouldForceCompact).toBe(false);
314-
});
315-
316308
test("shouldForceCompact is false when usage just below force threshold", () => {
317309
// 74% usage, threshold 70%, force at 75% - should NOT trigger
318310
const usage = createMockUsage(148_000); // 74%

0 commit comments

Comments
 (0)