Log succeeded test

master
Frédéric Matte 2022-12-06 12:55:41 -05:00
parent 6e4705c864
commit 241e9cb516
1 changed files with 2 additions and 1 deletions

View File

@ -33,12 +33,13 @@ const metaltest = (title) => {
try {
for (const fn of before) await fn()
await test.fn()
success++
testSuccess.push(test)
notify(reporters, 'success', test)
}
catch (error) {
fail++
testFail.push(Object.assign({}, test, { error }))
notify(reporters, 'fail', test, error)
}