Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.x-staging: assert: accommodate ES6 classes that extend Error #4734

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Jan 17, 2016

assert.throws() and assert.doesNotThrow() blow up with a TypeError
if used with an ES6 class that extends Error.

Fixes: #3188
PR-URL: #4166
Reviewed-By: Ben Noordhuis info@bnoordhuis.nl

`assert.throws()` and `assert.doesNotThrow()` blow up with a `TypeError`
if used with an ES6 class that extends Error.

Fixes: nodejs#3188
PR-URL: nodejs#4166
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@Trott Trott added assert Issues and PRs related to the assert subsystem. lts Issues and PRs related to Long Term Support releases. labels Jan 17, 2016
@jasnell
Copy link
Member

jasnell commented Jan 18, 2016

LGTM

@MylesBorins
Copy link
Contributor

landed in 46b2d2b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assert Issues and PRs related to the assert subsystem. lts Issues and PRs related to Long Term Support releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants