Skip to content

Commit

Permalink
fix: update default last click position in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav committed Jul 25, 2024
1 parent 3996059 commit 1ff07b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe('useCanvasOperations', () => {
mockNodeTypeDescription({ name: 'type' }),
);

expect(result.position).toEqual([460, 460]); // Default last click position
expect(result.position).toEqual([0, 0]); // Default last click position
});

it('should create node with provided position when position is provided', () => {
Expand Down

0 comments on commit 1ff07b5

Please sign in to comment.