Skip to content

Commit

Permalink
didn't like test names
Browse files Browse the repository at this point in the history
  • Loading branch information
alextaing committed Oct 25, 2023
1 parent 17774a5 commit 0cebb2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/studio-ui/tests/components/UndoRedo.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(<UndoRedo />);
expect(useStudioStore.getState().pages.activeComponentUUID).toBe(
Expand All @@ -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(<UndoRedo />);
expect(useStudioStore.getState().pages.activeComponentUUID).toBe(
Expand Down

0 comments on commit 0cebb2d

Please sign in to comment.