Index: test/build/copies_browser_js_next_to_entrypoints_test.dart |
diff --git a/test/build/copies_browser_js_next_to_entrypoints_test.dart b/test/build/copies_browser_js_next_to_entrypoints_test.dart |
index 99e4e64d4128cb6d8485a3cc1ea795e5d47b7182..1f92016b9ada953dd8c0d72c1f3b76c51a02a5b1 100644 |
--- a/test/build/copies_browser_js_next_to_entrypoints_test.dart |
+++ b/test/build/copies_browser_js_next_to_entrypoints_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,7 @@ import '../test_pub.dart'; |
import 'utils.dart'; |
main() { |
- initConfig(); |
- |
integration("compiles dart.js and interop.js next to entrypoints", () { |
- // Dart2js can take a long time to compile dart code, so we increase the |
- // timeout to cope with that. |
- currentSchedule.timeout *= 3; |
- |
serveBrowserPackage(); |
d.dir(appPath, [ |