Index: test/dart2js/environment_constant_test.dart |
diff --git a/test/dart2js/environment_constant_test.dart b/test/dart2js/environment_constant_test.dart |
index dab1260f1abca74a83a6c0d0786caf98a5c46b0c..1128105a126c0327868a3fa973035369dafe6f61 100644 |
--- a/test/dart2js/environment_constant_test.dart |
+++ b/test/dart2js/environment_constant_test.dart |
@@ -2,6 +2,10 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+// Dart2js can take a long time to compile dart code, so we increase the timeout |
+// to cope with that. |
+@Timeout.factor(3) |
+ |
import 'package:scheduled_test/scheduled_test.dart'; |
import '../descriptor.dart' as d; |
@@ -9,13 +13,8 @@ import '../serve/utils.dart'; |
import '../test_pub.dart'; |
main() { |
- initConfig(); |
group("passes environment constants to dart2js", () { |
setUp(() { |
- // Dart2js can take a long time to compile dart code, so we increase the |
- // timeout to cope with that. |
- currentSchedule.timeout *= 3; |
- |
d.dir(appPath, [ |
d.appPubspec(), |
d.dir('web', [ |