power-assert
power-assert copied to clipboard
Show concrete info with throws and similar assertions
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)
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.