From c862ca18276703c730049b2a5f4094a263ee58d5 Mon Sep 17 00:00:00 2001 From: 59naga Date: Tue, 18 Sep 2018 15:26:00 +0900 Subject: [PATCH] :heavy_minus_sign: remove no longer used events --- src/describe.mjs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/describe.mjs b/src/describe.mjs index 38848a4..4d6b7db 100644 --- a/src/describe.mjs +++ b/src/describe.mjs @@ -79,7 +79,6 @@ export default class Describe { if (this.hooks[key].length === 0) { return []; } - reporter.emit("hook", key); const values = await Promise.reduce( this.hooks[key], @@ -90,8 +89,6 @@ export default class Describe { [] ); - reporter.emit("hook end", key); - return values; } @@ -131,7 +128,6 @@ export default class Describe { } reporter.emit(test.state, test, error); - reporter.emit("test end", test, error); return values; }); }