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
test(t => { t.throws(() => { throw new Error('foo'); }, 'bar'); });
output:
1 failed 1. [anonymous] foo Test.fn (test.js:61:4)
It should show both the expected and actual message. (currently just shows the actual message foo).
foo
The text was updated successfully, but these errors were encountered:
We should implement t.throws ourselves, rather than wrapping assert.throws.
t.throws
assert.throws
Sorry, something went wrong.
Closing in favor of #1047. See also #661.
No branches or pull requests
output:
It should show both the expected and actual message. (currently just shows the actual message
foo
).The text was updated successfully, but these errors were encountered: