Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - why is group.setup get called before the plugin and group.each.setup after? #56

Open
tzelonpulse opened this issue Dec 8, 2024 · 2 comments

Comments

@tzelonpulse
Copy link

I expect both to be called after plugins, so I have the full context.

Thank you,
Tzelon

@tzelonpulse tzelonpulse changed the title Question - why is group setup get called before the plugin and group.each after? Question - why is group.setup get called before the plugin and group.each.setup after? Dec 8, 2024
@thetutlage
Copy link
Contributor

Can you share a reproduction for it? Because, as per me the plugins should be called before the tests lifecycle including group hooks

@tzelonpulse
Copy link
Author

Sure, https://github.com/tzelonpulse/japa-group-setup-issue
If you run npm run test, you will see that the group.setup context is undefined, and group.each.setup is not.
I'm using group.tap to get the test

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

No branches or pull requests

2 participants