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

Closed
wants to merge 1 commit into from
Closed

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?

@ljharb ljharb marked this pull request as draft January 10, 2024 18:34
@ljharb ljharb force-pushed the master branch 3 times, most recently from c16dde3 to 2ad86d4 Compare June 16, 2024 06:22
@m-r-r m-r-r closed this by deleting the head repository Oct 6, 2024
@ljharb
Copy link
Collaborator

ljharb commented Oct 7, 2024

@m-r-r unfortunately by deleting the fork, this PR is unrecoverable.

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