Skip to content

Commit f1f95e5

Browse files
committed
fix: add self-review suggestions
1 parent fadb6f4 commit f1f95e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parent.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ describe("traverse parent", () => {
196196
expect(mutation).nthCalledWith(
197197
5,
198198
s.items,
199-
expect.any(Boolean),
199+
true,
200200
expect.any(String),
201-
s
201+
s // this is the vital part of whats under test - the parent of the cycle is s, not `s.items.items[0]`
202202
);
203203
});
204204
});

0 commit comments

Comments
 (0)