fix(test-test262): display stack traces and fail for exceptions
MODIFY
test/test-test262.js
test/test-test262.js
@@ -273,7 +273,7 @@ function injectTest262Harness(globalObject, t) {
function $DONE(error) {
if (error) {
if (typeof error === 'object' && error !== null && 'name' in error) {
- t.fail(`Test262:AsyncTestFailure: ${error.name}: ${error.message}`);
+ t.fail(`Test262:AsyncTestFailure: ${error.name}: ${error.stack || error.message}`);
} else {
t.fail(`Test262:AsyncTestFailure:Test262Error: ${error}`);
}

fix(test-test262): display stack traces and fail for exceptions