forked from marionettejs/backbone.syphon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecRunner.html
55 lines (46 loc) · 1.88 KB
/
SpecRunner.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
47
48
49
50
51
52
53
54
55
<!doctype html>
<html>
<head>
<title>Syphon SpecRunner</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/underscore/underscore.js"></script>
<script src="node_modules/backbone/backbone.js"></script>
<script src="node_modules/chai/chai.js"></script>
<script src="node_modules/sinon/pkg/sinon.js"></script>
<script src="node_modules/sinon-chai/lib/sinon-chai.js"></script>
<script src="node_modules/chai-jquery/chai-jquery.js"></script>
<script>
mocha.setup('bdd');
window.expect = chai.expect;
window.sinon = sinon;
onload = function() {
mocha.checkLeaks();
mocha.run();
beforeEach(function () {
this.sinon = sinon.sandbox.create();
});
afterEach(function () {
this.sinon.restore();
});
};
</script>
<script src="tmp/backbone.syphon.js"></script>
<script src="spec/javascripts/deserialize.spec.js"></script>
<script src="spec/javascripts/deserialize.nested.spec.js"></script>
<script src="spec/javascripts/fieldListOverride.spec.js"></script>
<script src="spec/javascripts/inputReaders.spec.js"></script>
<script src="spec/javascripts/inputWriters.spec.js"></script>
<script src="spec/javascripts/keyAssignmentValidators.spec.js"></script>
<script src="spec/javascripts/keyExtractors.spec.js"></script>
<script src="spec/javascripts/serialize.nested.spec.js"></script>
<script src="spec/javascripts/serialize.spec.js"></script>
</head>
<body>
<div id="mocha"></div>
<div id="fixtures" hidden></div>
</body>
</html>