-
Notifications
You must be signed in to change notification settings - Fork 0
/
_SpecRunner.html
107 lines (86 loc) · 2.55 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Jasmine Spec Runner</title>
<link rel="stylesheet" type="text/css" href=".grunt/grunt-contrib-jasmine/jasmine.css">
<script src=".grunt/grunt-contrib-jasmine/require.js"></script>
<script>
require.onError = function(error) {
var message = error.requireType + ': ';
if (error.requireType === 'scripterror' || error.requireType === 'notloaded' && error.requireModules) {
message += 'Illegal path or script error: ' + '[\'' + error.requireModules.join("', '") + '\']';
} else {
message += error.message;
}
throw Error(message);
};
</script>
<script src=".grunt/grunt-contrib-jasmine/jasmine.js"></script>
<script src=".grunt/grunt-contrib-jasmine/jasmine-html.js"></script>
<script>
require.config({
"baseUrl": "static/js",
"shim": {
"backbone": {
"deps": [
"jquery",
"underscore"
],
"exports": "Backbone"
},
"bootstrap": {
"deps": [
"jquery"
],
"exports": "jquery"
},
"stripe_api": {
"exports": "Stripe"
},
"underscore": {
"exports": "_"
}
},
"paths": {
"stripe_api": "https://js.stripe.com/v2/?1",
"jquery": "../lib/bower_components/jquery/jquery",
"underscore": "../lib/bower_components/underscore/underscore",
"backbone": "../lib/bower_components/backbone/backbone",
"bootstrap": "../lib/bower_components/sass-bootstrap/dist/js/bootstrap",
"localstorage": "../lib/bower_components/backbone.localStorage/backbone.localStorage-min",
"text": "../lib/bower_components/requirejs-text/text",
"facade": "core/facade",
"BaseView": "core/views/BaseView",
"BaseModel": "core/models/BaseModel",
"BaseModule": "core/modules/BaseModule",
"BaseService": "core/services/BaseService",
"BaseController": "core/controllers/BaseController",
"MapService": "map/main",
"StripeService": "stripe/main",
"UserService": "user/main",
"helpers": "core/helpers/"
}
});
</script>
<script>
function launchTest() {
require([
],
function(){
require(['static/test/spec/AppModuleSpec.js','static/test/spec/MediatorSpec.js','.grunt/grunt-contrib-jasmine/reporter.js'], function(){
require(['.grunt/grunt-contrib-jasmine/jasmine-helper.js'], function(){
// good to go! Our tests should already be running.
})
})
}
)
}
</script>
<script>
launchTest();
</script>
</head>
<body>
</body>
</html>