The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 07:00 UTC
test(scripts): expect the unmatched-pattern flag in the Astro check:changed test (#29839)
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
maria committed
Nov 3, 2026 at 01:56 UTC
07846fca61817df9e173fbf724ebb3833221e1bf
1 file changed
+5
-1
scripts/check-changed.test.ts
+5
-1
@@ -414,7 +414,11 @@ it("lints an Astro component and runs knip when only it changed", () => {
414
const result = project.run();
415
expect(result.status, result.stdout + result.stderr).toBe(0);
416
const calls = project.calls();
417
- expect(calls.find(({ args }) => args[0] === "lint")?.args).toEqual(["lint", page]);
417
+ expect(calls.find(({ args }) => args[0] === "lint")?.args).toEqual([
418
+ "lint",
419
+ "--no-error-on-unmatched-pattern",
420
+ page,
421
+ ]);
422
expect(calls.some(({ args }) => args[0] === "exec" && args[1] === "knip")).toBe(true);
423
});
424