Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-08 | fix(node/assert): throws not checking error instance (#24466) | Marvin Hagemeister | |
The implementation for `assert.throws()` from `node:assert` didn't work when the expected value was an `Error` constructor. In this case the thrown error should checked if it's an instance of said constructor. Fixes https://github.com/denoland/deno/issues/24464 |