test(apple): assert observed collection edge contract

This commit is contained in:
morluto committed 2026-10-24 04:05:23 +08:00
1 parent f83d97fe92
commit d98105d650
1 file changed
+2 -2
@@ -2273,8 +2273,8 @@ it.each([1, 2])(
expect(edges).toHaveLength(count);
expect(
edges.every(
({ resolution, reason }) =>
resolution === "observed" && reason === null,
({ resolution, limitations }) =>
resolution === "observed" && limitations.length === 0,
),
).toBe(true);
const outlets = result.graph.nodes.filter(({ kind }) => kind === "outlet");