Skip to content

Tags: chaijs/check-error

Tags

v2.1.1

Toggle v2.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: support virtual contexts (#50)

This adds support for virtual contexts by testing `RegExp` and `Error`
via `toString` instead of an `instanceof` check.

v1.0.3

Toggle v1.0.3's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
1.0.3

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

v1.0.2

Toggle v1.0.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge pull request #8 from lucasfcosta/readme-require-and-formatting-…

…fixes

fix: readme unformatted node link and require for check-error

v1.0.1

Toggle v1.0.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge pull request #6 from lucasfcosta/fix-anonymous-functions-ie

fix: tests for anonymous functions on IE

v1.0.0

Toggle v1.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge pull request #4 from lucasfcosta/fix-ie-function-name

fix: Function.name failing IE tests