-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecRunner.html
37 lines (33 loc) · 969 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
<!DOCTYPE html>
<html>
<head>
<title>Underbar Test Suite</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="lib/css/mocha.css" />
<script src="lib/chai.js"></script>
<script src="lib/mocha.js"></script>
<script src="lib/sinon.js"></script>
<script src="lib/sinon-chai.js"></script>
<script src="lib/testSupport.js"></script>
<!-- Source files -->
<script src="src/underbar.js"></script>
<!-- End source files -->
<!-- Test files -->
<script>
var clock;
before(function() {
clock = sinon.useFakeTimers();
});
after(function() {
clock.restore();
});
</script>
<script src="spec/part1.js"></script>
<script src="spec/part2.js"></script>
<script src="spec/advanced.js"></script>
<!-- End test files -->
</head>
<body>
<div id="mocha"></div>
</body>
</html>