Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
40 lines (38 loc) · 1.08 KB

File metadata and controls

40 lines (38 loc) · 1.08 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="icon" href="./webhost/favicon-32x32.png"/>
<style>
.btn {
color: #ffffff;
background: #3498db;
border-radius: 30px;
font-size: 50px;
}
.btn:hover { background: #50c7ff; }
.btn:focus { background: #50c7ff; }
</style>
</head>
<body>
<div id='setup'>
<button id='runTestBtn' onclick='runTests()' type="button" class="btn">Run Tests</button>
</div>
<div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../built/local/bundle.js"></script>
<script>
// mocha is going to call this on every test result and make the results page unusable for a long
// time after the tests are already done, doesn't seem necessary
Mocha.utils.highlightTags = function() {}
function runTests() {
mocha.checkLeaks();
mocha.globals(['jQuery']);
mocha.run();
}
</script>
</body>
</html>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.