power-assert-js/power-assert

Show concrete info with throws and similar assertions

Opened this issue · 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)
twada commented

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.

I see, I'll check that version.