test(apple): assert observed collection edge contract
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user