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
rejects
uvu/asset
What do you think about adding very popular matcher to uvu/asset? Like throws, but for async function.
throws
async
rejects(() => asyncFn(), 'Some error')
Or we can add async support to throws when cb returns Promise.
cb
Promise
throws(async () => asyncFn(), 'Some error')
The text was updated successfully, but these errors were encountered:
Duplicate of #131 and implemented in #132 🎉 It's going to be part of the next minor release :)
Sorry, something went wrong.
Waiting for this feature to be released...
No branches or pull requests
What do you think about adding very popular matcher to
uvu/asset
? Likethrows
, but forasync
function.Or we can add
async
support tothrows
whencb
returnsPromise
.The text was updated successfully, but these errors were encountered: