-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·45 lines (35 loc) · 1.07 KB
/
index.html
File metadata and controls
executable file
·45 lines (35 loc) · 1.07 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css"/>
<link rel="stylesheet" href="../../node_modules/jquery/dist/jquery.js"/>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/sinon-chai/lib/sinon-chai.js"></script>
<script src="../../node_modules/mocha/mocha.js"></script>
</head>
<body>
<script type='text/template' id='tpl-dashboard-layout'>
<div class="gridStack">
</div>
</script>
<script src="js/OneFlux.js"></script>
<script src="js/Implements.js"></script>
<div id="mocha"></div>
<div id="test"></div>
<script>
mocha.setup('bdd'); //2
mocha.reporter('html'); // 3
var expect = chai.expect;
</script>
<!-- inject:tests:js -->
<script src="../test/boxes/boxDashboard/BoxDashboard.test.js"></script>
<script src="../test/boxes/boxHeader/BoxHeader.test.js"></script>
<script src="../test/boxes/boxMain/BoxMain.test.js"></script>
<!-- endinject -->
<script>
mocha.run()
</script>
</body>
</html>