power-assert icon indicating copy to clipboard operation
power-assert copied to clipboard

Show concrete info with throws and similar assertions

Open falsandtru opened this issue 8 years ago • 2 comments

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)

falsandtru avatar Aug 20 '17 14:08 falsandtru

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.

twada avatar Aug 21 '17 01:08 twada

I see, I'll check that version.

falsandtru avatar Aug 21 '17 01:08 falsandtru