Skip to content
New issue

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

[readme] Update the documention for t.doesNotThrow() #554

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m-r-r
Copy link

@m-r-r m-r-r commented May 4, 2021

Hello,

I updated the documentation for t.doesNotThrow() to clarify how it works.

Fixes #553.

@ljharb
Copy link
Collaborator

ljharb commented May 5, 2021

Hmm. Your text is correct, but node's docs say that it does check the type - in terms of what kind of error is thrown. Since tape fails the test instead of throwing an error, it kind of seems like we should be failing the test when it doesn't throw the right kind of error, and instead, throwing the error when it throws the wrong kind of error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

t.doesNotThrow() expected parameters seems to be ignored
2 participants