index.html 1.15 KB
<html>
  <head>
    <meta charset="utf-8">
    <title>Mocha Tests</title>
    <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/jquery/jquery/2.1.4/dist/jquery.min.js"></script>
    <script src="https://cdn.rawgit.com/Automattic/expect.js/0.3.1/index.js"></script>
    <script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script>
    <script>
      mocha.setup('bdd');
    </script>
    <script src="../base64.min.js"></script>
    <script>
      var assert = function(expr, msg) {
        if (!expr) throw new Error(msg || 'failed');
      };
      assert.equal = function(a, b, msg) {
        if (a !== b) throw new Error(msg || ('failed : '+a+','+b));
      };
    </script>
    <script src="./dankogai.js"></script>
    <script src="./es5.js"></script>
    <script src="./large.js"></script>
    <script src="./yoshinoya.js"></script>
    <script>
      $(function() {
        mocha.run();
      });
    </script>
</head>
<body>
  $Id: index.html,v 0.3 2017/09/11 08:43:43 dankogai Exp dankogai $
  <div id="mocha"></div>
</body>
</html>