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

Unified Diff: Tools/GardeningServer/test/karma-unit-tests.html

Issue 411763003: Set up mocha, chai and karma for sheriff-o-matic unit testing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Tools/GardeningServer/test/karma-unit-tests.html
diff --git a/Tools/GardeningServer/polymer-load-warning.html b/Tools/GardeningServer/test/karma-unit-tests.html
similarity index 60%
copy from Tools/GardeningServer/polymer-load-warning.html
copy to Tools/GardeningServer/test/karma-unit-tests.html
index 7e3625e685e947a40e203a3b50ea958e3a80816c..60a6c9288f46caa5c9a21d997fdcce94103d40d1 100644
--- a/Tools/GardeningServer/polymer-load-warning.html
+++ b/Tools/GardeningServer/test/karma-unit-tests.html
@@ -4,7 +4,15 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
+<!DOCTYPE html>
+<head>
esprehn 2014/07/25 23:59:39 omit head
michaelpg 2014/07/28 20:35:04 why? this is a standalone page.
+<meta charset="utf-8">
+</head>
+<body>
esprehn 2014/07/25 23:59:39 omit body
+
+<div id="mocha"></div>
+
<script>
-if (!window.Polymer)
- alert('Polymer did not load correctly. Did you run "bower update" from Tools/GardeningServer?');
+mocha.run();
</script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698