forked from ryan-roemer/backbone-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-failure.html
More file actions
31 lines (26 loc) · 776 Bytes
/
test-failure.html
File metadata and controls
31 lines (26 loc) · 776 Bytes
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
<html>
<head>
<title>Backbone.js Tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Mocha styles. -->
<link rel="stylesheet" href="js/lib/mocha.css" />
<!-- Test libraries. -->
<script src="js/lib/mocha.js"></script>
<script src="js/lib/chai.js"></script>
<script src="js/lib/sinon.js"></script>
<!-- Test Setup -->
<script>
var expect = chai.expect;
mocha.setup("bdd");
window.onload = function () {
(window.mochaPhantomJS || mocha).run();
};
</script>
<!-- Tests. -->
<script src="js/spec/failure.spec.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>