JamieMason/expect-more

toBeWithinRange

tinovyatkin opened this issue · 2 comments

Why toBeWithinRange is commented in Jest implementation and will it come back?

Sorry @tinovyatkin for the slow reply, I managed to unwatch some of my projects somehow and stopped getting notifications for them.

The TypeScript types for Jest don't support matchers with more than a certain number of arguments at the moment. I've not got around yet to submitting a PR. Once that is in we'll be able to use toBeWithinRange again.

Will be available again when jestjs/jest#6898 is released.