From 0cebb2ddfeb6da8f93e58963bc701e81df3faa0b Mon Sep 17 00:00:00 2001 From: Alex Taing Date: Wed, 25 Oct 2023 10:34:18 -0400 Subject: [PATCH] didn't like test names --- packages/studio-ui/tests/components/UndoRedo.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/studio-ui/tests/components/UndoRedo.test.tsx b/packages/studio-ui/tests/components/UndoRedo.test.tsx index 44fd2522b..f24303a2f 100644 --- a/packages/studio-ui/tests/components/UndoRedo.test.tsx +++ b/packages/studio-ui/tests/components/UndoRedo.test.tsx @@ -56,7 +56,7 @@ describe("Undo/redo", () => { expect(useStudioStore.getState().pages.activeComponentUUID).toBeUndefined(); }); - it("only undoes last state update using control + z if not in OS X", async () => { + it("undoes last state update using control + z if OS is not OS X", async () => { platform.os.family = "Windows"; render(); expect(useStudioStore.getState().pages.activeComponentUUID).toBe( @@ -70,7 +70,7 @@ describe("Undo/redo", () => { expect(useStudioStore.getState().pages.activeComponentUUID).toBeUndefined(); }); - it("only undoes last state update using command + z if in OS X", async () => { + it("undoes last state update using command + z if OS is OS X", async () => { platform.os.family = "OS X"; render(); expect(useStudioStore.getState().pages.activeComponentUUID).toBe(