Skip to content

Commit 951ec59

Browse files
committed
test(deps): align reporting fixture with cooldown policy
1 parent 6c5a158 commit 951ec59

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎test/scripts/check-deadcode-reporting.test.ts‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,13 @@ const barrier = setInterval(() => {
8787
for (const [index, outcome] of outcomes.entries()) {
8888
expect(readFileSync(path.join(root, `${index}.completed`), "utf8")).toBe(outcome);
8989
const scanArgs = ["--config", configs[index]];
90-
if (index === 0) scanArgs.push("--production");
91-
if (index === 2) scanArgs.push("--include-entry-exports");
90+
if (index === 0) {
91+
scanArgs.push("--production");
92+
}
93+
if (index === 2) {
94+
scanArgs.push("--include-entry-exports");
95+
}
9296
expect(JSON.parse(readFileSync(path.join(root, `${index}.started`), "utf8"))).toEqual([
93-
"--config.minimum-release-age=0",
9497
"dlx",
9598
"--package",
9699

0 commit comments

Comments
 (0)