-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (36 loc) · 1.25 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Backbone Boilerplate Jasmine Test Suite</title>
<!-- Jasmine styles -->
<link rel="stylesheet" href="vendor/jasmine.css">
</head>
<body>
<!-- Testing libs -->
<script src="vendor/jasmine.js"></script>
<script src="vendor/jasmine-html.js"></script>
<!-- Application libs -->
<script src="../../assets/js/libs/jquery.js"></script>
<script src="../../assets/js/libs/lodash.js"></script>
<script src="../../assets/js/libs/backbone.js"></script>
<!-- Load application -->
<script data-main="../../app/config"
src="../../assets/js/libs/require.js"></script>
<!-- Declare your spec files to be run here -->
<script>
// Ensure you point to where your spec folder is, base directory is app/,
// which is why ../test is necessary
require({ paths: { spec: "../test/jasmine/spec" } }, [
// Load the example spec, replace this and add your own spec
"spec/card"
], function() {
// Set up the jasmine reporters once each spec has been loaded
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
});
</script>
</body>
</html>