You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some number matches don't check if the given value is a number. is this intentional?
The following pass but feel weird because they are strings
expect("").toBeWithin(0,1);// "" coerces to 0 in >=expect("4").toBeWithin(0,10);expect("1").toBePositive();expect("-1").toBeNegative();expect("fsdafdsa").toBeNaN();expect("2").toBeEven();expect("3").toBeOdd();expect("1").toBeInteger();
.toBeNumber() is not affected by this.
The text was updated successfully, but these errors were encountered:
Bug
package
version: 4.0.0node
version: 20.2.0some number matches don't check if the given value is a number. is this intentional?
The following pass but feel weird because they are strings
.toBeNumber()
is not affected by this.The text was updated successfully, but these errors were encountered: