Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Refactoring to fix hook execution order and all-hooks #16

Merged
merged 1 commit into from
Feb 4, 2015

Conversation

daffl
Copy link
Member

@daffl daffl commented Feb 4, 2015

This pull request is a bigger refactoring that fixes the hook execution order (closes #13) and adds support for before-all and after-all hooks (closes #11). New tests added and old tests didn't need to be changed (so we can assume backwards compatibility).

@daffl
Copy link
Member Author

daffl commented Feb 4, 2015

I might add app.before() and app.after() into this PR as well.

/cc @ekryski, @marshallswain

@ekryski
Copy link
Member

ekryski commented Feb 4, 2015

I pulled it down and it works great! Nice stuff. :shipit:

daffl added a commit that referenced this pull request Feb 4, 2015
Refactoring to fix hook execution order and all-hooks
@daffl daffl merged commit ef7e59f into master Feb 4, 2015
@daffl daffl deleted the hook-all-order-refactoring branch February 4, 2015 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrays of Hooks are running in reverse order. Before all and after all hooks
2 participants