-
Notifications
You must be signed in to change notification settings - Fork 0
/
testrunner.html
28 lines (26 loc) · 956 Bytes
/
testrunner.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
<html>
<!-- default test markup from mocha-phantomjs github page: https://github.com/nathanboktae/mocha-phantomjs -->
<head>
<meta charset="utf-8">
<!-- encoding must be set for mocha's special characters to render properly -->
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="dist/css/styles.css" />
</head>
<body>
<div id="mocha"></div>
<div id="vc"></div>
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/chai/chai.js"></script>
<script>
mocha.ui('bdd');
assert = chai.assert;
expect = chai.expect;
</script>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="dist/js/jquery-ui.min.js"></script> <!-- core and widget only -->
<script src="dist/js/viewctrls.js"></script>
<script src="test/jquery.test.js"></script>
<script src="test/viewctrls.test.js"></script>
<script> mocha.run(); </script>
</body>
</html>