Should we be using expect.fail or assert.fail?
#9301
Answered
by
sheremet-va
KirillTregubov
asked this question in
Q&A
-
|
The docs have an entry for It seems that both of these definitions come from My main questions are:
|
Beta Was this translation helpful? Give feedback.
Answered by
sheremet-va
Dec 18, 2025
Replies: 1 comment 3 replies
-
|
We should probably document chai's API. For now, we only document Jest-style API. Functionally, |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
KirillTregubov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should probably document chai's API. For now, we only document Jest-style API.
Functionally,
assert.failandexpect.failare identical, they just throw an error.