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

Unified Diff: Tools/GardeningServer/test/run-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: rm head/body tag 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
« no previous file with comments | « Tools/GardeningServer/package.json ('k') | Tools/GardeningServer/test/unit-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/test/run-unit-tests.html
diff --git a/Tools/GardeningServer/test/run-unit-tests.html b/Tools/GardeningServer/test/run-unit-tests.html
new file mode 100644
index 0000000000000000000000000000000000000000..5e31c353a67e2fba856bc3d0ba2f77099a6b3eb5
--- /dev/null
+++ b/Tools/GardeningServer/test/run-unit-tests.html
@@ -0,0 +1,30 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
+<title>Sheriff-O-Matic Unit Tests</title>
+
+<script src="../bower_components/chai/chai.js"></script>
+<script src="../node_modules/mocha/mocha.js"></script>
+<script src="../bower_components/sugar/release/sugar-full.development.js"></script>
+<script src="../bower_components/platform/platform.js"></script>
+<link rel="import" href="../bower_components/polymer/polymer.html">
+<link rel="import" href="../polymer-load-warning.html">
+
+<script>
+mocha.checkLeaks();
+mocha.setup('bdd');
+</script>
+
+<link rel="import" href="unit-tests.html">
+
+<div id="mocha"></div>
+
+<script>
+mocha.run();
+</script>
« no previous file with comments | « Tools/GardeningServer/package.json ('k') | Tools/GardeningServer/test/unit-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698