Index: samples/third_party/todomvc/test/todomvc_mainpage_test.html |
diff --git a/samples/third_party/todomvc/test/todomvc_mainpage_test.html b/samples/third_party/todomvc/test/todomvc_mainpage_test.html |
index 4dce9cc55539bad1c79e544c01898f33e23e02a2..3483dbff359470e9601138c2fbda44f1ff002828 100644 |
--- a/samples/third_party/todomvc/test/todomvc_mainpage_test.html |
+++ b/samples/third_party/todomvc/test/todomvc_mainpage_test.html |
@@ -13,15 +13,16 @@ This test runs the TodoMVC app and evaluates that it renders correctly. |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
<link rel="import" href="../web/app.html"> |
<link rel="stylesheet" href="../web/base.css"> |
- <script src="packages/web_ui/testing/testing.js"></script> |
+ <script src="packages/polymer/testing/testing.js"></script> |
<title>Dart • TodoMVC</title> |
</head><body> |
<todo-app></todo-app> |
<script type="application/dart"> |
+import 'dart:async'; |
import 'dart:html'; |
main() { |
- window.postMessage('done', '*'); |
+ Timer.run(() => window.postMessage('done', '*')); |
} |
</script> |
</body> |