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
@smiLLe hey sorry I just saw. I think to prepare my own testing framewrok. The way is to find a task, find the async action and trigger it. Similar for refreshable.
I prefer action-inspired approach. You wrap your task code in a method like func viewAppeared() async and do the work inside it. Then you just test this method.
How would I test an async task in a View which just shows some simple data, loaded from an api?
The text was updated successfully, but these errors were encountered: