index.html 676 Bytes
<!doctype html>
<html>
<head>
  <title>Mocha</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css" rel="stylesheet" />
</head>
<body>
  <div id="mocha"></div>
  <script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script>
  <script src="https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js"></script>
  <script>mocha.setup('bdd')</script>
  <!-- thing to test -->
  <script src="../index.js"></script>
  <!-- your test files -->
  <script src="setup.js"></script>
  <script src="test.js"></script>
  <script>mocha.run()</script>
</body>
</html>