We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839f36f commit 0ba3ac7Copy full SHA for 0ba3ac7
run-tests.js
@@ -708,8 +708,10 @@ ${ENDGROUP}`)
708
709
try {
710
await yourTurn()
711
- } catch (err) {
712
- throw new Error(`Skipping ${test.file} due to abort.`, { cause: err })
+ } catch (cause) {
+ const error = new Error(`Skipped due to abort.`, { cause })
713
+ error.name = test.file
714
+ throw error
715
}
716
717
let passed = false
@@ -738,7 +740,7 @@ ${ENDGROUP}`)
738
740
})
739
741
passed = true
742
console.log(
- `Finished ${test.file} on retry ${i}/${numRetries} in ${
743
+ `${test.file} finished on retry ${i}/${numRetries} in ${
744
time / 1000
745
}s`
746
)
0 commit comments