Skip to content

Conversation

isorensen
Copy link
Contributor

Summary

In some widget test cases, router getters are called on null. To avoid this, modular allows to mock its Modular Navigator.
Documentation had a line about it, but not so clear how to mock it.

Suggestion

I added an example to be included in documentation. Feel free to adapt or change it to your defaults.

@mateusfccp
Copy link
Contributor

Could you please provide the same changes on the Portuguese README.md?

@isorensen
Copy link
Contributor Author

Could you please provide the same changes on the Portuguese README.md?

Sure, but where do I find the file? I forked the repository, but there's only one README.md

Thank you

@mateusfccp
Copy link
Contributor

I'm sorry, it seems they got rid of the Portuguese documentation.

@jacobaraujo7 jacobaraujo7 merged commit be7dc33 into Flutterando:master Jul 31, 2020
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.

3 participants