forked from wardbell/bardjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (52 loc) · 1.83 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head lang="en">
<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, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title>bardjs tests</title>
<style>
body {
font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
padding-left: 20px;
}
</style>
<!--BEWARE of using any app styles as @media can screw up tests -->
<!-- inject-testvendorcss:css -->
<link rel="stylesheet" href="node_modules/mocha/mocha.css">
<!-- endinject -->
</head>
<body>
<h1><a href="specs.html">bardjs tests</a></h1>
<div id="mocha"></div>
<!-- inject-testharness:js -->
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/chai/chai.js"></script>
<script src="node_modules/mocha-clean/index.js"></script>
<script src="bower_components/sinon/index.js"></script>
<script src="node_modules/sinon-chai/lib/sinon-chai.js"></script>
<!-- endinject -->
<script>
expect = chai.expect;
AssertionError = chai.AssertionError;
mocha.setup('bdd');
mocha.traceIgnores = ['mocha.js', 'chai.js', 'angular.js'];
</script>
<!-- inject-testvendor:js -->
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-mocks/angular-mocks.js"></script>
<!-- endinject -->
<!-- inject:js -->
<script src="bard.js"></script>
<!-- endinject -->
<!-- inject-helpers:js -->
<!-- endinject -->
<!-- inject-specs:js -->
<script src="tests/bard.inject.spec.js"></script>
<script src="tests/bard.mockService.spec.js"></script>
<!-- endinject -->
<script>
mocha.run();
</script>
</body>
</html>