-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat: allow calling hook methods #5231
feat: allow calling hook methods #5231
Conversation
By the way, a tip: the template has a place to put the I edited it in just now. |
oh oops, sorry about that 😅 |
Looks like it! I re-ran the CI job and it's all passing. Phew 😄 |
was getting worried there for a sec! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, thanks! 🙌
PR Checklist
status: accepting prs
Overview
It seems the only reason this wasn't supported was simply the return value of calling
beforeAll
, etc, was not the hook itself, unlike the result of calling a function likedescribe
, which does use the suite as the return value.I will look into adding tests and maybe some docs