Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html « browser « test « mocha-3.1.0 « lib « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9200b977e56e018a81f221159f7b5c845d03fad2 (plain)
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
<html>
  <head>
    <title>Mocha</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../mocha.css" />
    <script src="../../mocha.js"></script>
    <script>mocha.setup('bdd')</script>
    <script>
      function assert(expr, msg) {
        if (!expr) throw new Error(msg || 'failed');
      }
    </script>
    <script src="array.js"></script>
    <script src="../acceptance/duration.js"></script>
    <script src="../acceptance/timeout.js"></script>
    <script src="multiple-done.js"></script>
    <script>
      onload = function(){
        mocha.checkLeaks();
        mocha.globals(['foo']);
        var runner = mocha.run();

        // runner.on('test end', function(test){
        //   console.log(test.fullTitle());
        // });
      };
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>