Does it make sense to throw a type error if the value cannot be null for the .toBeNull
helper?
#110
Labels
question
Further information is requested
.toBeNull
helper?
#110
Does it make sense to throw a type error if a value cannot be null for the
.toBeNull
helper? For example, in the following test I WOULD expect a type error if the type cannot be null:I WOULD NOT expect a type error if the value can be
null
. For example, in this test:Let me know if that makes sense.
The text was updated successfully, but these errors were encountered: