index.html
1.15 KB
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
38
39
<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>