Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/camicroscope/camicroscope
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
birm committed Apr 29, 2024
2 parents ce2befd + c28afa0 commit a65a0a3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/DrawHelper.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,4 @@ describe('caDrawHelper', () => {
expect(mockContext.stroke).toHaveBeenCalled();
});
});

describe('drawCircle', () => {
test('should call appropriate canvas methods to draw circle', () => {
drawHelper.drawCircle(mockContext, 50, 50, 25);

// Assert canvas method calls
expect(mockContext.beginPath).toHaveBeenCalled();
expect(mockContext.arc).toHaveBeenCalledWith(50, 50, 25, 0, 2 * Math.PI);
expect(mockContext.closePath).toHaveBeenCalled();
expect(mockContext.stroke).toHaveBeenCalled();
});
});
});

0 comments on commit a65a0a3

Please sign in to comment.