Skip to content

Commit 9b08ab3

Browse files
committed
feat(test_lib): support a timeout for dart async tests
1 parent 56906db commit 9b08ab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import 'package:unittest/unittest.dart' as unit;
44
main() {
55
unit.filterStacks = true;
66
unit.formatStacks = false;
7+
unit.unittestConfiguration.timeout = new Duration(milliseconds: 100);
78

89
_printWarnings();
910

0 commit comments

Comments
 (0)