File size: 1,132 Bytes
5fae594
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
  <head>
    <title>clarinet.js</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="css/mocha.css" />
    <script src="lib/jquery.js" type="text/javascript"></script>
    <script src="lib/mocha.js"></script>
    <script src="lib/underscore.js"></script>
    <script src="lib/fast-list.js"></script>
    <script>mocha.setup('bdd')</script>
    <script>
      // warning uncommenting this makes things slower, pick your tests

      // uncommented for
      // turn on console.log. debug for everychar, info for every emit
      //window.CDEBUG = 'debug';

      // uncomment for
      // turn off testing and record instead, excepted results
      // are console logged on end
      //window.CRECORD  = true;
    </script>
    <script src="../clarinet.js"></script>
    <script src="clarinet.js"></script>
    <script>
      onload = function(){
        var runner = mocha.run();
        runner.on('test end', function(test){
          console.log(test.fullTitle());
        });
      };
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>