diff options
Diffstat (limited to 'test/index.html')
-rw-r--r-- | test/index.html | 24 |
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> |