diff --git a/lib/metaltest.js b/lib/metaltest.js index c4f0192..d8e90a7 100644 --- a/lib/metaltest.js +++ b/lib/metaltest.js @@ -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) } }