-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove is-error dependency #2911
Conversation
@sindresorhus is there any nuance with |
You could alternatively inline |
Is that a scenario we should still care about? |
This reverts commit acd0dd9.
However I don't want to be in a situation where |
* Remove is-error dependency * Document edge case where `error instanceof Error` can be true, yet AVA does not recognize `error` as an error See also #2911 for an earlier attempt.
* Track worker errors. They're not native due to nodejs/node#48716, but we want to treat them as such anyway. * Only treat native errors as errors * Remove is-error dependency * Document edge case where `error instanceof Error` can be true, yet AVA does not recognize `error` as an error See also #2911 for an earlier attempt.
👋
This isn't needed at all, but seemed like an easy edit to reduce dependencies.