commit | 6e388688043ccb6b64b77db25cf5d005732f8651 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Mon Jul 06 17:16:59 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Jul 06 17:16:59 2020 -0700 |
tree | 136e4b6ba66d11b700694163faf512e3f7f5e41f | |
parent | db2f7d3414aed2d4e2ba9bf0ae611029a9721e21 [diff] |
Stop holding the InvokerZone on the Invoker (#1288) The commented purpose and usage of this field are to avoid problems where a `heartbeat` call is in a `Zone` which interferes with `Timer` behavior. `Zone.root` should always have known behavior, or at the least the `_invokerZone` would have always been a descendent of this root zone anyway, so it shouldn't introduce any problems that weren't present before. It's not worth the complexity of holding a zone variable solely to be able to use FakeAsync in these tests, so drop the tests and the field.
This repository contains packages for writing and running Dart tests.
A full featured packaged for writing and running Dart tests on various platforms, e.g. VM, Chrome, Node etc.
A minimal package for writing tests. This package is used by package:test
and package:test_core
.
A minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. This package is used by package:test
.