Mehmet Fidanboylu

Results 27 comments of Mehmet Fidanboylu
trafficstars

> If we surround those callbacks with fakeAsync, how will time be progressed around an await within the setUp callback? You can't and therefore you can't await in a setup...

> I worry that breaking all async setUp callbacks will be nearly as difficult to roll out. I worry that you are right. There does not seem to be a...

I looked at a couple of use cases that necessitated running setUp/tearDown functions in fake async zone. In either case, the problem is that we are using some framework that...

Doesn't this invalidate the use case for fake_async? Why use it at all?

Ah. That's currently possible in flutter_test via `runAsync`. ``` await tester.runAsync(() { // Code runs in normal event loop }); ```

Yep. That was the original motivation why I was looking into running setup/teardown in consistent zones. ``` setup(() { // runs in real async // some service gets created which...