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 d50e7a6 commit 2ff5b8e
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 @@ -182,7 +182,7 @@ describe("use-action-history", () => {
act(() => renderedHook.result.current.rewind());
});

test("recent histories are rewritten when recording a new action ", () => {
test("the forward history is overridden when recording a new action ", () => {
const newAction = { rewind: jest.fn(), forward: jest.fn() };
act(() => renderedHook.result.current.record(newAction));

Expand Down

0 comments on commit 2ff5b8e

Please sign in to comment.