-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtests.html
30 lines (30 loc) · 1.08 KB
/
tests.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
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="./vendors/mocha.css" />
<script src="./vendors/mocha.browser.js"></script>
<script src="./vendors/chai.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
<script src="/SeedJs/src/seed.js"></script>
<script src="/SeedJs/src/backboneAdapter.js"></script>
<script>mocha.setup('bdd')</script>
<script>
function assert(expr, msg) {
if (!expr) throw new Error(msg || 'failed');
}
</script>
<script src="./test/seed.spec.js"></script>
<script src="./test/backboneAdapter.spec.js"></script>
<script>
onload = function(){
var runner = mocha.run();
};
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>