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

Make MockPresentation{Cubit,Bloc} stream a broadcast one #34

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

Albert221
Copy link
Member

When widget testing a widget that uses two or more BlocPresentationListener for the same cubit, using a MockPresentation{Bloc,Cubit}, it fails due to listening to the same (non-broadcast) same a few times.

@Albert221 Albert221 requested a review from shilangyu February 7, 2024 08:53
homepage: https://github.com/leancodepl/bloc_presentation/tree/master/packages/bloc_presentation_test

environment:
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.10.0'
sdk: ">=3.0.0 <4.0.0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VS Code did that by itself

@Albert221 Albert221 merged commit ac557f4 into master Feb 7, 2024
2 checks passed
@Albert221 Albert221 deleted the bug/test-stream-broadcast branch February 7, 2024 08:57
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

Successfully merging this pull request may close these issues.

2 participants