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

Show concrete info with throws and similar assertions #94

Open
falsandtru opened this issue Aug 20, 2017 · 2 comments
Open

Show concrete info with throws and similar assertions #94

falsandtru opened this issue Aug 20, 2017 · 2 comments
Labels
power-assert-v2 features and bug fixes in power-assert v2

Comments

@falsandtru
Copy link
Contributor

I want to get details at least the passed expression like () => shouldThrow() because I don't know which assertion has failed from assertion messages.

        AssertionError: Missing expected exception..
            at _throws (node_modules/power-assert/build/power-assert.js:4806:5)
@twada
Copy link
Member

twada commented Aug 21, 2017

Thank you for the feature request.

at least the passed expression for exception test makes sense to me. It's a bit difficult with current power-assert configuration so I will try to ship with power-assert 2.0.

@falsandtru
Copy link
Contributor Author

I see, I'll check that version.

@twada twada added the power-assert-v2 features and bug fixes in power-assert v2 label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
power-assert-v2 features and bug fixes in power-assert v2
Projects
None yet
Development

No branches or pull requests

2 participants