-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[BUG] Cannot pass functions or JSHandle
into a component props in component testing
#23435
Closed
1 task done
Labels
Comments
This is not supported, we recommend creating a wrapper component if you need to supply custom data to your Component which you are testing. |
But can it be supported? At least with a |
I'll make a feature request out of it, but there are currently no plans to do so. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System info
Source code
Config file
Test file (self-contained)
Steps
Expected
I can pass a callback, an object containing callbacks or a
JSHandle
(So I can worry about the node vs browser differences myself viaevaluateHandle
as props.Actual
The text was updated successfully, but these errors were encountered: