-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathamd.html
More file actions
28 lines (27 loc) · 792 Bytes
/
amd.html
File metadata and controls
28 lines (27 loc) · 792 Bytes
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
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="./node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="./node_modules/chai/chai.js"></script>
<script src="./node_modules/mocha/mocha.js"></script>
<script src="./node_modules/requirejs/require.js"></script>
<script src="./dist/eventd.js"></script>
<script>mocha.setup('bdd')</script>
<script src="./test/event.js"></script>
<script src="./test/observe.js"></script>
<script>
window.expect = chai.expect;
window.should = chai.should();
require(['eventd'], function(Eventd) {
window.Event = Eventd.Event;
window.Observe = Eventd.Observe;
mocha.checkLeaks();
mocha.run();
});
</script>
</body>
</html>