-
Notifications
You must be signed in to change notification settings - Fork 34
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
Mob plat/bump flutter 2.10 #98
Conversation
test/nuvigator_test.dart
Outdated
// Should rebuild NuRouter (going back to secondNestedScreen2) | ||
expect(find.text('SecondNestedScreen2'), findsOneWidget); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 This looks odd, why did this test break?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was just not founding the expected screen. We debugged this, and we dont know how the test was passing before....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a bisect in flutter versions and discovered this commit caused the test to break.
Adding a TickerMode
with enabled: false
fixed the problem.
Thanks @leoiacovini for the help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, just for the sake of clarity: It seems that it didn't break the behavior when running the code in reality, instead it was just the test that boke
This PR has the bump of some dependencies, for flutter version 2.10