Skip to content

Conversation

MarkoMlakar
Copy link

This PR

  • Remove redundant loop for updating the before hook contexts
  • Add simple test case to make sure the same object reference is being updated

Related Issues

#1236

Notes

The accumulated evaluation context object is shared with all the hooks (same object reference). This makes the inner for loop for updating the contexts redundant

How to test

npm run test

- Remove redundant loop for updating the hook contexts
- Add simple test case to make sure the same object reference is being updated

Signed-off-by: Marko Mlakar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant