Skip to content

expect.anything() fails on null value #7626

Answered by sheremet-va
koko236 asked this question in Q&A
Discussion options

You must be logged in to vote

I think there is now expect.toBeOneOf([null, 'another value'])

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@koko236
Comment options

@sheremet-va
Comment options

Answer selected by koko236
@koko236
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants