diff --git a/lib/metaltest.js b/lib/metaltest.js index d8e90a7..241ff43 100644 --- a/lib/metaltest.js +++ b/lib/metaltest.js @@ -27,7 +27,6 @@ const metaltest = (title) => { runner.run = async (...reporters) => { notify(reporters, 'start', title) - notify(reporters, 'before') const tests = only.length ? only : suite for (const test of tests) { @@ -46,11 +45,9 @@ const metaltest = (title) => { } for (const fn of after) await fn() - notify(reporters, 'after') const stats = { title, success, fail, total: success + fail, testSuccess, testFail } notify(reporters, 'end', stats) - return stats }