Skip to content

Commit

Permalink
Update range in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankshukla94 committed Nov 9, 2023
1 parent c5a9731 commit 36d6125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matchers/toBeInRange.test.js
Expand Up @@ -4,7 +4,7 @@ expect.extend(matcher);

describe('.toBeInRange', () => {
test('passes when given array is in range', () => {
expect([4, 5, 7, 9]).toBeInRange(4, 10);
expect([4, 5, 7, 9]).toBeInRange(4, 9);
});

test('fails when given array is not in a given range', () => {
Expand Down

0 comments on commit 36d6125

Please sign in to comment.