Skip to content

Commit

Permalink
test(compat/math): make coverage to 100% (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnnnoel authored Nov 14, 2024
1 parent 64368b8 commit e33fa5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compat/math/inRange.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ describe('inRange', () => {
expect(inRange(3, 1, 5)).toBe(true);
expect(inRange(0, 1, 5)).toBe(false);
expect(inRange(5, 1, 5)).toBe(false);
expect(inRange(5, 5, 5)).toBe(false);
});

it('should treat falsey `start` as `0`', () => {
it('should treat falsy `start` as `0`', () => {
falsey.forEach((value, index) => {
if (index) {
// eslint-disable-next-line
Expand Down

0 comments on commit e33fa5a

Please sign in to comment.