From 9b08ab3b3c7a8be9c403160ade8ee9827565bdf3 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Wed, 25 Feb 2015 16:09:33 -0800 Subject: [PATCH] feat(test_lib): support a timeout for dart async tests --- test-main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/test-main.dart b/test-main.dart index 568c38702e..a1e5fc567b 100644 --- a/test-main.dart +++ b/test-main.dart @@ -4,6 +4,7 @@ import 'package:unittest/unittest.dart' as unit; main() { unit.filterStacks = true; unit.formatStacks = false; + unit.unittestConfiguration.timeout = new Duration(milliseconds: 100); _printWarnings();