Rename error
parent
f59a4923a0
commit
e85684bd16
|
@ -37,11 +37,11 @@ const metaltest = (title) => {
|
|||
success++
|
||||
notify(reporters, 'success', test)
|
||||
}
|
||||
catch (e) {
|
||||
catch (error) {
|
||||
fail++
|
||||
|
||||
testFail.push(Object.assign({}, test, { error: e }))
|
||||
notify(reporters, 'fail', test, e)
|
||||
testFail.push(Object.assign({}, test, { error }))
|
||||
notify(reporters, 'fail', test, error)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue