fix(housekeeping): canonicalize live cutover links

This commit is contained in:
Simo committed 2026-09-02 21:53:19 +02:00
1 parent 1f10e15c1c
commit c841595458
15 files changed
+107 -30

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { describe, expect, it } from "vitest";
import robots from "./robots";
describe("robots", () => {
it("marks the canonical Housekeeping namespace as private", () => {
const result = robots();
const rules = Array.isArray(result.rules) ? result.rules : [result.rules];
const disallow = rules.flatMap((rule) => rule.disallow ?? []);
expect(disallow).toContain("/ase-next/");
expect(disallow).not.toContain(["/", "ase", "/"].join(""));
});
});