mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
test: require exact public views and export receipts
This commit is contained in:
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),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user