-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
32 lines (28 loc) · 768 Bytes
/
index.html
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
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="./support/mocha.css" />
<link rel="stylesheet" href="./fixture.css" />
</head>
<body>
<div id="mocha"></div>
<div id="fixture-section">
<p>Fixture:</p>
<iframe src="./fixture.html" id="fixture"></iframe>
</div>
<script src="./support/mocha.js"></script>
<script src="./support/chai.js"></script>
<script>mocha.setup('bdd')</script>
<script src="./support/jquery.js"></script>
<script src="./support/math.js"></script>
<script src="../src/calculate.jquery.js"></script>
<script src="./calculate_test.js"></script>
<script>
mocha.checkLeaks();
mocha.globals(['jQuery']);
mocha.run();
</script>
</body>
</html>