You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: simplify error class checking (#53)
Previously, we were unnecessarily trying to determine if the passed
object was in fact a class which extends `Error`.
We don't actually care about this, really. We just want to know if the
`thrown` is an instance of the thing you passed.
Due to this, we can simplify by simply checking that the `errorLike` is
something with a `prototype` and assert that the `thrown` is an instance
of it.
feat: support virtual contexts (#50)
This adds support for virtual contexts by testing `RegExp` and `Error`
via `toString` instead of an `instanceof` check.
Use web test runner instead of karma (#46)
* convert package-lock.json to version 3
* use web-test-runner instead of karma
* actually install web test runner
* set node version to 16