Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cankyre committed May 3, 2024
1 parent 58bbc3c commit 2eece7b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/utils/tests/store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,20 +381,6 @@ test("should handle previousBranch", () => {
...treeE4D5Nf3(),
position: [0],
});

store.setState({ ...treeE4D5Nf3(), position: [0, 1] });

store.getState().previousBranch();
expect(getNewState()).toStrictEqual({
...treeE4D5Nf3(),
position: [0, 0],
});

store.getState().previousBranch();
expect(getNewState()).toStrictEqual({
...treeE4D5Nf3(),
position: [0, 1],
});
});

test("should handle goToBranchEnd", () => {
Expand Down

0 comments on commit 2eece7b

Please sign in to comment.