-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Verify of objects passed in isolates don't work #234
Labels
question
Further information is requested
Comments
Hi @elkSal 👋 |
Closing for now since this issue is quite old and there isn't a minimal reproduction sample. If this is still a problem please file a new issue with a link to a reproduction sample, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isolates in dart copy the objects of the arguments passed as mentioned here.
I have a repository class that has a source and a mapper.
I would like to verify that the mapper function is called but the verify doesn't work as the mapper object (passed as an argument of the isolate) is copied inside the isolate, and therefore is not the same object.
Repository code:
Testing code
The
expect
works fine, only theverify
methods trigger an error as they are never called.The text was updated successfully, but these errors were encountered: