• Todd Volkert's avatar
    Make runAsync() run in child zone, not root zone (#17359) · 2ba0deb7
    Todd Volkert authored
    Some APIs (such as the ones in package:test) assume you're running
    in a child zone of the test zone by attempting to extract information
    from the zone values. When we run runAsync() in the root zone, those
    zone values are lost, and such API methods don't work.
    
    The solution is to run in a child zone, but with a specification that
    says to use the Root zone for task scheduling (both timers and
    microtakss).
    2ba0deb7
Name
Last commit
Last update
..
src Loading commit data...
flutter_test.dart Loading commit data...