feat(test_lib): support a timeout for dart async tests
This commit is contained in:
parent
56906db4d5
commit
9b08ab3b3c
|
@ -4,6 +4,7 @@ import 'package:unittest/unittest.dart' as unit;
|
||||||
main() {
|
main() {
|
||||||
unit.filterStacks = true;
|
unit.filterStacks = true;
|
||||||
unit.formatStacks = false;
|
unit.formatStacks = false;
|
||||||
|
unit.unittestConfiguration.timeout = new Duration(milliseconds: 100);
|
||||||
|
|
||||||
_printWarnings();
|
_printWarnings();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue