test: show stack of thrown errors
This commit is contained in:
parent
1372ce16cb
commit
75ed8c6537
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ export const testSuite = (
|
|||
if (testResult.result === "fail") {
|
||||
console.error(
|
||||
`[TEST FAILURE] "${suiteName}": "${testResult.testName}": ` +
|
||||
`${testResult.error.message}\n`
|
||||
`${testResult.error.stack}\n`
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue