aboutsummaryrefslogtreecommitdiffstats
path: root/test/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.html')
-rw-r--r--test/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/index.html b/test/index.html
new file mode 100644
index 000000000..6498d5fcc
--- /dev/null
+++ b/test/index.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Mocha Spec Runner</title>
+ <link rel="stylesheet" href="../bower_components/mocha/mocha.css">
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../bower_components/mocha/mocha.js"></script>
+ <script>mocha.setup('bdd');</script>
+ <script src="../bower_components/chai/chai.js"></script>
+ <script>
+ var assert = chai.assert;
+ var expect = chai.expect;
+ var should = chai.should();
+ </script>
+ <!-- bower:js -->
+ <!-- endbower -->
+ <!-- include source files here... -->
+ <!-- include spec files here... -->
+ <script src="spec/test.js"></script>
+ <script>
+ if (navigator.userAgent.indexOf('PhantomJS') === -1) {
+ mocha.run();
+ }
+ </script>
+</body>
+</html>