| commit | befcb8816f7b9551f7685723400230aed1a7dc4d | [log] [tgz] |
|---|---|---|
| author | Nate Bosch <nbosch@google.com> | Tue Feb 28 17:06:32 2023 -0800 |
| committer | GitHub <noreply@github.com> | Tue Feb 28 17:06:32 2023 -0800 |
| tree | 369647b86e7d2ba14eb462318a4e3f89593cffc1 | |
| parent | 8e5d50284b032fd52908afd396c6ba66ea97f704 [diff] |
Use fake_async over waiting for timers with delays (dart-lang/stream_transform#166) On the web the timers may have some variance. Replace all usages of `waitForTimer` utility to use `fakeAsync`. Separate out the call to `Stream.listen` from `setUp` so it happens in the fake async zone.