From 2ff5b8e389cec48e7d7feea9538b308aa55d9e89 Mon Sep 17 00:00:00 2001 From: Yuddomack <41747333+Yuddomack@users.noreply.github.com> Date: Tue, 3 Oct 2023 20:10:03 +0900 Subject: [PATCH] fix: Update packages/core/lib/__tests__/use-action-history.spec.tsx Co-authored-by: Chris Villa --- packages/core/lib/__tests__/use-action-history.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/lib/__tests__/use-action-history.spec.tsx b/packages/core/lib/__tests__/use-action-history.spec.tsx index 27e08f0d38..75e796879a 100644 --- a/packages/core/lib/__tests__/use-action-history.spec.tsx +++ b/packages/core/lib/__tests__/use-action-history.spec.tsx @@ -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));