Skip to content

Commit

Permalink
➖ remove no longer used events
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Sep 18, 2018
1 parent 8d33d4e commit c862ca1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/describe.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -90,8 +89,6 @@ export default class Describe {
[]
);

reporter.emit("hook end", key);

return values;
}

Expand Down Expand Up @@ -131,7 +128,6 @@ export default class Describe {
}

reporter.emit(test.state, test, error);
reporter.emit("test end", test, error);
return values;
});
}
Expand Down

0 comments on commit c862ca1

Please sign in to comment.