-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Fix flaky test #448
Comments
@rolandgeider Can I work on this one? |
sure, go ahead! I'm not sure if we really need that package though, might be enough to rewrite a bit the test |
Thanks, I'll add my PR and we can see if it is worth it. |
Merged
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
nutritional_meal_form_test.dart
can be a bit flaky, since we compare the current time so sometimes this fails because the widget was rendered in the next/previous minute. It would be better if we would just mock the current time to whatever value we needsee also
https://pub.dev/packages/clock
https://medium.com/steeple-product/mocking-time-in-flutter-tests-724c42a28daf
The text was updated successfully, but these errors were encountered: