aboutsummaryrefslogtreecommitdiff
path: root/test/index.html
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-04 11:55:31 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-04 11:55:31 +0200
commiteeaa2c11ee64761b706a41478bc74fedbf4162d7 (patch)
tree120435627ea279a6693959239e0011a4d4b9f6dc /test/index.html
Squashed 'thirdparty/jed/' content from commit 28c014f
git-subtree-dir: thirdparty/jed git-subtree-split: 28c014f0557d8718733182817e0e90086149a765
Diffstat (limited to 'test/index.html')
-rw-r--r--test/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/index.html b/test/index.html
new file mode 100644
index 000000000..bd92793a3
--- /dev/null
+++ b/test/index.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset=utf-8 />
+ <title>Jed.js Test Suite</title>
+ <link rel="stylesheet" href="/node_modules/mocha/mocha.css" />
+ <script src="/test/jquery.min.js"></script>
+ <script src="/node_modules/mocha/mocha.js"></script>
+ <script src="/node_modules/expect.js/expect.js"></script>
+ <script>mocha.setup('bdd')</script>
+
+ <script src="/jed.js"></script>
+ <script src="/test/tests.js"></script>
+ </head>
+ <body>
+ <h1>Jed.js Test Suite</h1>
+ <div id="mocha"></div>
+ <script>
+ window.onload = function () {
+ mocha.run().globals(['Jed']);
+ };
+ </script>
+ </body>
+</html>