test: require exact public views and export receipts

This commit is contained in:
morluto committed 2026-11-10 16:50:24 -05:00
1 parent 360cd6f438
commit 17f0c6944c
7 files changed
+45 -34

No files matched your search

@@ -102,6 +102,9 @@ cliTest(
limit: 100,
});
if (page.kind !== "page") throw new Error("expected modules page");
expect(page.items).toContainEqual(
expect.objectContaining({ path: "index.js" }),
);
const pageNodeIds = page.items.map((item) =>
String((item as { node_id?: unknown }).node_id),
);