ava/test/assertions
Mark Wubben e58f466cc0
Only treat native errors as errors
* Track worker errors. They're not native due to https://github.com/nodejs/node/issues/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 https://github.com/avajs/ava/pull/2911 for an earlier attempt.
2023-07-31 09:25:50 +02:00
..
fixtures Only treat native errors as errors 2023-07-31 09:25:50 +02:00
snapshots Only treat native errors as errors 2023-07-31 09:25:50 +02:00
test.js Only treat native errors as errors 2023-07-31 09:25:50 +02:00