-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
37 lines (31 loc) · 1.22 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>WebCat Unit Tests</title>
<link rel="stylesheet" href="lib/jasmine-core/lib/jasmine-core/jasmine.css">
<script src="lib/es6-shim/es6-shim.min.js"></script>
<script src="lib/systemjs/dist/system-polyfills.js"></script>
<script src="lib/zone.js/dist/zone.js"></script>
<script src="lib/reflect-metadata/Reflect.js"></script>
<script src="lib/systemjs/dist/system.src.js"></script>
<script src="lib/jasmine-core/lib/jasmine-core/jasmine.js"></script>
<script src="lib/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
<script src="lib/jasmine-core/lib/jasmine-core/boot.js"></script>
</head>
<body>
<script src="systemjs.config.js"></script>
<script>
Promise.all([
// code
System.import('app/shared/query-builder/query-builder'),
System.import('tests/query-builder.spec'),
//specs
System.import('tests/query-builder.spec')
]).then(function(modules) {
//manually trigger Jasmine test-runner
window.onload();
}).catch(console.error.bind(console));
</script>
</body>
</html>