Rename error

master
Frédéric Matte 2022-12-05 22:41:37 -05:00
parent f59a4923a0
commit e85684bd16
1 changed files with 3 additions and 3 deletions

View File

@ -37,11 +37,11 @@ const metaltest = (title) => {
success++ success++
notify(reporters, 'success', test) notify(reporters, 'success', test)
} }
catch (e) { catch (error) {
fail++ fail++
testFail.push(Object.assign({}, test, { error: e })) testFail.push(Object.assign({}, test, { error }))
notify(reporters, 'fail', test, e) notify(reporters, 'fail', test, error)
} }
} }