feat(test_lib): support a timeout for dart async tests

This commit is contained in:
Tobias Bosch 2015-02-25 16:09:33 -08:00
parent 56906db4d5
commit 9b08ab3b3c
1 changed files with 1 additions and 0 deletions

View File

@ -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();