forked from kapke/angular2-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunSpec.html
More file actions
30 lines (30 loc) · 1.2 KB
/
runSpec.html
File metadata and controls
30 lines (30 loc) · 1.2 KB
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>Tests</title>
<link rel="stylesheet" href="node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
<script src="node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
<script src="node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
<script src="node_modules/jasmine-core/lib/jasmine-core/boot.js"></script>
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
<script src="node_modules/systemjs/dist/system.js"></script>
<script src="config.js"></script>
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
</head>
<body>
<script>
window.addEventListener('load', function () {
System.import('built/spec/spec')
.then(function () {
['.jasmine-run-options', '.jasmine-bar'].forEach(function (selector) {
var element = document.querySelector(selector);
element.parentNode.removeChild(element);
});
})
.then(function () {
jasmine.getEnv().execute();
});
});
</script>
</body>
</html>