forked from LiamSchauerman/testingToyProblems
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspecRunner.html
More file actions
31 lines (26 loc) · 905 Bytes
/
specRunner.html
File metadata and controls
31 lines (26 loc) · 905 Bytes
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
<html>
<head>
<meta charset="utf-8">
<title>Toy Problem mocha tests</title>
<link rel="stylesheet" href="lib/mocha.css" />
<script src="lib/mocha.js"></script>
<script src="lib/chai.js"></script>
<script src="lib/jquery.js"></script>
<script>
mocha.setup('bdd');
window.expect = chai.expect;
$(function() {
window.mochaPhantomJS ? mochaPhantomJS.run() : mocha.run();
})
</script>
<!-- source files -->
<script type="text/javascript" src="ToyProblems/balancedParens/balancedParens.js"></script>
<script type="text/javascript" src="ToyProblems/allAnagrams/allAnagrams.js"></script>
<!-- spec files -->
<script type="text/javascript" src="Specs/balancedParensSpec.js"></script>
<script type="text/javascript" src="Specs/allAnagramsSpec.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>