Skip to content

test_runner: unwrap error message in TAP reporter

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/tap-error into main

The TAP reporter unwraps errors that come from user code. It was not properly unwrapping the error message when the failure originated from a test hook. This lead to difficult to debug errors when TAP output was used. This commit updates the TAP reporter to properly unwrap the error message.

Fixes: https://github.com/nodejs/node/issues/48941

Merge request reports

Loading