forked from nahash411/easy-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpecRunner.html
38 lines (28 loc) · 817 Bytes
/
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
<!DOCTYPE HTML>
<html>
<head>
<title>Mocha Spec Runner</title>
<link rel="stylesheet" href="node_modules/mocha/mocha.css">
<!-- Node Modules -->
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="http://chaijs.com/chai.js" type="text/javascript"></script>
<!--
<script src="lib/jquery.js"></script>
<script src="lib/underscore.js"></script>
<script src="lib/sinon.js"></script>
// <script src="lib/sinon-chai.js"></script> -->
<script src="problem.js"></script>
<script>
mocha.setup('bdd');
var expect = chai.expect;
$(function() {
window.mochaPhantomJS ? mochaPhantomJS.run() : mocha.run();
});
</script>
<script src="spec.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>