Fix hook execution order
ryanmasondavies opened this issue · comments
Before hooks must be executed inwards from the top-most context, while after hooks must be executed outwards from the deepest context. At the moment, after hooks are being executed the wrong way around.