chore: refactor tests (#3243)

This commit is contained in:
Marvin Hagemeister
2025-08-22 12:14:19 +02:00
committed by GitHub
parent 873c54bd5f
commit 5c3fe27046
7 changed files with 252 additions and 459 deletions
+5 -1
View File
@@ -274,7 +274,11 @@ Deno.test("migrates to last_shown property", async () => {
stdout: "piped",
}).output();
const { stdout } = getStdOutput(out);
const { stdout, stderr } = getStdOutput(out);
if (stdout === "") {
// deno-lint-ignore no-console
console.log(stderr);
}
expect(stdout).toMatch(/Fresh .* is available/);
const checkFileAfter = JSON.parse(