You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests, either using variant: TargetPlatformVariant.mobile() or debugDefaultTargetPlatformOverride does not cooperate with UniversalPlatform.
Can you add a method, something like testUniversalPlatformOverride = targetPlatformType to set a platform type for widget testing. Or, perhaps create something that extends from the TestVariant class that could be used.
The text was updated successfully, but these errors were encountered:
I would love this as well. This is an extremely useful package, but the lack of testing mechanisms makes it quite hard to use in some cases, which might persuade people to not use the package as a result.
When running tests, either using
variant: TargetPlatformVariant.mobile()
ordebugDefaultTargetPlatformOverride
does not cooperate with UniversalPlatform.Can you add a method, something like
testUniversalPlatformOverride = targetPlatformType
to set a platform type for widget testing. Or, perhaps create something that extends from the TestVariant class that could be used.The text was updated successfully, but these errors were encountered: