Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: samples/third_party/todomvc/test/mainpage_test.dart

Issue 27274002: Fixing bots after Polymer element integration (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/third_party/todomvc/test/mainpage_test.dart
diff --git a/samples/third_party/todomvc/test/mainpage_test.dart b/samples/third_party/todomvc/test/mainpage_test.dart
index dc23b7ef8d03621e180690c0e1e0a8e387147255..8b9a8dc58f972f8a752c7be60e66830d9fcfe874 100644
--- a/samples/third_party/todomvc/test/mainpage_test.dart
+++ b/samples/third_party/todomvc/test/mainpage_test.dart
@@ -4,6 +4,7 @@
library todomvc.test.mainpage_test;
+import 'dart:async';
import 'dart:html';
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
@@ -17,6 +18,8 @@ import '../web/model.dart';
main() {
useHtmlConfiguration();
+ setUp(() => new Future.delayed(Duration.ZERO));
+
test('initial state', () {
final todoApp = query('todo-app');
expect(appModel.todos.length, 0);
« no previous file with comments | « samples/third_party/todomvc/test/listorder_test.dart ('k') | samples/third_party/todomvc/test/markdone_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698