-
Notifications
You must be signed in to change notification settings - Fork 45
/
index.html
46 lines (39 loc) · 1.31 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aja.js browser test launcher | Test Properties</title>
<link rel="stylesheet" media="all" href="../../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<div id="messages"></div>
<div id="fixtures">
<div id="foo-container"></div>
<div class="bar"></div>
</div>
<script src="../../node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/grunt-blanket-mocha/node_modules/blanket/dist/mocha/blanket_mocha.min.js"
data-cover-flags="branchTracking"
data-cover-only="//src/">
</script>
<script src="../../node_modules/grunt-blanket-mocha/support/mocha-blanket.js"></script>
<!-- set up mocha and chai-->
<script>
var expect = chai.expect;
mocha.setup('bdd');
</script>
<script src="../../src/aja.js"></script>
<script src="test.js"></script>
<script>
if (window.PHANTOMJS) {
//to report coverage to grunt
blanket.options("reporter", "../../node_modules/grunt-blanket-mocha/support/grunt-reporter.js");
} else {
// If tests run in a real browser
mocha.run();
}
</script>
</body>
</html>