What's the difference between toThrowError
and toThrow
?
#2570
vladcosorg
started this conversation in
General
Replies: 1 comment
-
They are the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
toThrow
is not documented but is used in the https://vitest.dev/api/#rejects exampleBeta Was this translation helpful? Give feedback.
All reactions