Agents: fix compaction safeguard test formatting

This commit is contained in:
Pandadadadazxf 2026-02-27 00:19:53 +08:00 committed by Josh Lehman
parent 9d15f5dd74
commit 55f77bb944
No known key found for this signature in database
GPG Key ID: D141B425AC7F876B
1 changed files with 4 additions and 1 deletions

View File

@ -263,7 +263,10 @@ describe("compaction-safeguard tool failures", () => {
describe("compaction-safeguard summary budgets", () => {
it("caps file operations summary and reports omitted entries", () => {
const readFiles = Array.from({ length: 200 }, (_, i) => `docs/very/long/path/${i}-read-file.md`);
const readFiles = Array.from(
{ length: 200 },
(_, i) => `docs/very/long/path/${i}-read-file.md`,
);
const modifiedFiles = Array.from(
{ length: 200 },
(_, i) => `src/features/${i}/nested/component/file-${i}.ts`,