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

feat: add option to disable ensureInitialized #67

Merged

Conversation

eikebartels
Copy link
Contributor

There are cases when you do not want the 'IntegrationTestWidgetsFlutterBinding.ensureInitialized();' to be include in the generated code. For example with the current patrol version.

For this case, I have added the option includeIntegrationTestBinding with the default of true. If you set this option to false the line will not be written in the generated test file

@olexale olexale merged commit a2f12d2 into olexale:master Feb 17, 2024
1 check passed
@olexale
Copy link
Owner

olexale commented Feb 17, 2024

Thanks for the PR! I hope you don't mind that I slightly changed the implementation in some places. I'll publish a new version with your changes later today.

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