Skip to content

Commit

Permalink
added extra render
Browse files Browse the repository at this point in the history
  • Loading branch information
imjordanxd committed Dec 11, 2024
1 parent 9ce6d94 commit 012bf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mobx-react/__tests__/hooks.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test("computed properties react to props when using hooks", async () => {
act(() => {
jest.runAllTimers()
})
expect(seen).toEqual(["parent", 0, "parent", 2])
expect(seen).toEqual(["parent", 0, "parent", 2, 2])
expect(container).toHaveTextContent("2")
expect(consoleWarnMock).toMatchSnapshot()
})
Expand Down

0 comments on commit 012bf17

Please sign in to comment.