forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmocha-runner.html
More file actions
26 lines (23 loc) · 783 Bytes
/
mocha-runner.html
File metadata and controls
26 lines (23 loc) · 783 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
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.css" rel="stylesheet" />
</head>
<body>
<div id="mocha"></div>
<script src="https://cdn.rawgit.com/jquery/jquery/2.1.4/dist/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/expect.js/0.2.0/expect.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="/assets/build/debugger-unit-tests.js"></script>
<link rel="stylesheet" href="/assets/build/debugger.css">
<script>
mocha.globals(['jQuery']);
beforeEach(function() {
localStorage.clear();
})
mocha.run();
</script>
</body>
</html>