-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathSpecRunner.html
40 lines (34 loc) · 1.4 KB
/
SpecRunner.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
32
33
34
35
36
37
38
39
40
<!DOCTYPE HTML>
<html>
<head>
<title>Mocha Spec Runner</title>
<!-- library files -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/underscore/underscore-min.js"></script>
<script src="bower_components/d3/d3.min.js"></script>
<!-- testing frameworks -->
<link rel="stylesheet" href="bower_components/mocha/mocha.css">
<script src="bower_components/mocha/mocha.js"></script>
<script src="bower_components/chai/chai.js"></script>
<link rel="stylesheet" type="text/css" href="bower_components/jasmine/lib/jasmine-core/jasmine.css">
<script type="text/javascript" src="bower_components/jasmine/lib/jasmine-core/jasmine.js"></script>
<script type="text/javascript" src="bower_components/jasmine/lib/jasmine-core/jasmine-html.js"></script>
<script type="text/javascript" src="bower_components/jasmine/lib/jasmine-core/boot.js"></script>
<script>
mocha.setup('bdd');
window.expect = chai.expect;
$(function() {
window.mochaPhantomJS ? mochaPhantomJS.run() : mocha.run();
});
</script>
<!-- source files -->
<script src="assets/js/script.js"></script>
<script src="assets/js/btree.js"></script>
<script src="assets/js/btree-node.js"></script>
<!-- tests -->
<script src="spec/btreeSpec.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>