-
Notifications
You must be signed in to change notification settings - Fork 461
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
add Error.isError
tests
#4266
add Error.isError
tests
#4266
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but with s/assert.equal/assert.sameValue/g
(or in the case of assert.equal(..., boolean)
consider replacing with assert()
)
Thanks, updated (kept the explicit comparisons because i prefer them over implicit ones) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think that these tests are missing a feature flag (for example, |
Thanks, but would you mind opening an issue (or a new PR if you have the time?) As a comment on a merged PR, it is likely to be missed. |
whoops, thanks. i'll add one in a PR right now. |
→ #4271 |
See tc39/proposal-is-error#7