Open
Description
Bug in the implementation of toBeInRange. @mayankshukla94
expect([1,2,3]).toBeInRange(1,3) // This should return pass according to documentation
From doc:
Use .toBeInRange
when checking if an array has elements in range min (inclusive) and max (inclusive).
But in the code max value is exclusive.
Metadata
Metadata
Assignees
Labels
No labels