We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assert.unreachable
I'm trying to migrate from uvu to vitest and noticed that there's no assert.unreachable
uvu
vitest
https://github.com/lukeed/uvu/blob/56e1cb25ecd76cbf5cd3fd28c7a4c07db405c5c3/src/assert.js#L48
Just do throw new Error();. Feel free to close this issue if that's preferred
throw new Error();
No response
The text was updated successfully, but these errors were encountered:
expect.unreachable
Successfully merging a pull request may close this issue.
Clear and concise description of the problem
I'm trying to migrate from
uvu
tovitest
and noticed that there's noassert.unreachable
Suggested solution
https://github.com/lukeed/uvu/blob/56e1cb25ecd76cbf5cd3fd28c7a4c07db405c5c3/src/assert.js#L48
Alternative
Just do
throw new Error();
. Feel free to close this issue if that's preferredAdditional context
No response
Validations
The text was updated successfully, but these errors were encountered: