Rename error
parent
f59a4923a0
commit
e85684bd16
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue