Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -32,7 +32,15 @@ describe("CRM contact routes (R-P6 slice 4)", () => {
expect(list).toContain("export const action");
expect(list).toContain("loadKontaktListData");
expect(list).toContain("handleKontaktListAction");
expect(list).not.toContain("useFetcher");
// The route may own a fetcher (the create dialog's live duplicate check posts
// to the new-route via useFetcher and the result is injected as a prop). The
// layer rule (DoD A.5) applies to the presentational screen, not the route:
// the dialog component itself must not call useFetcher / useLoaderData.
// Match real hook calls (`useFetcher(` / `useFetcher<`) with no space, so the
// "No useLoaderData / useFetcher (DoD A.5)" comment in the file is not a hit.
const newDialog = fs.readFileSync(path.join(repoRoot, "apps/web/app/components/screens/crm/KontaktNewDialog.tsx"), "utf8");
expect(newDialog).not.toMatch(/useFetcher[(<]/);
expect(newDialog).not.toMatch(/useLoaderData[(<]/);
const companies = read("contacts.companies._index.tsx");
expect(companies).toContain('variant: "companies"');