Skip to content

Commit

Permalink
fix: Update packages/core/lib/__tests__/use-action-history.spec.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Villa <[email protected]>
  • Loading branch information
Yuddomack and chrisvxd authored Oct 3, 2023
1 parent cf77e10 commit d50e7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/lib/__tests__/use-action-history.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe("use-action-history", () => {
});
});

test("canForward should be true until before last forward", () => {
test("canForward should be true until the end of the history is reached", () => {
actions.forEach((_, i) => {
act(() => renderedHook.result.current.forward());
expect(renderedHook.result.current.canForward).toBe(
Expand Down

0 comments on commit d50e7a6

Please sign in to comment.