-
-
Notifications
You must be signed in to change notification settings - Fork 39
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: add mode to fn hooks #259
Conversation
The idea and initial implementation are ok, but lack:
Since it's a breaking change in the current PR implementation, a backward compatible implementation should be investigated. |
|
commit: |
I don't see any breaking change? The callbacks are backward compatible. It is unlikely that user passed in a callback with an optional parameter. |
Since the existing code is not documented, only the public API change should have a JSDoc, so the
I guess a properly commented |
See #259 (comment) |
You don't need to make |
It will fail with strict type checking options enabled. |
Thanks ! |
Provide a way to check the mode for fn hooks that is consistent with setup and teardown.