forked from OscarGodson/EpicEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.html
67 lines (64 loc) · 1.93 KB
/
tests.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="../docs/css/main.css" />
<style>
h1 a, #mocha h1 {
border-bottom: none;
color: #222;
}
#mocha .test.pass::before {
color: green;
}
.hidden {
position: absolute !important;
left: -9999999px !important;
}
#mocha .test.fail code {
color: #fff;
}
</style>
<script src="/docs/js/jquery.min.js"></script>
<script src="../node_modules/expect.js/expect.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script>mocha.setup({ui: 'bdd', ignoreLeaks: true})</script>
<script src="/epiceditor/js/epiceditor.js"></script>
<script src="helpers.js"></script>
<script src="test.options.js"></script>
<script src="test.edit.js"></script>
<script src="test.emit.js"></script>
<script src="test.enterFullscreen.js"></script>
<script src="test.exitFullscreen.js"></script>
<script src="test.exportFile.js"></script>
<script src="test.getElement.js"></script>
<script src="test.getFiles.js"></script>
<script src="test.importFile.js"></script>
<script src="test.is.js"></script>
<script src="test.load.js"></script>
<script src="test.on.js"></script>
<script src="test.open.js"></script>
<script src="test.preview.js"></script>
<script src="test.remove.js"></script>
<script src="test.removeListener.js"></script>
<script src="test.rename.js"></script>
<script src="test.save.js"></script>
<script src="test.unload.js"></script>
<script src="test.reflow.js"></script>
<script src="test.focus.js"></script>
<script src="test.amd.js"></script>
<script>
$(function() {
localStorage.clear();
mocha
.run()
})
</script>
</head>
<body>
<h1><a href="/test/tests.html">EpicEditor</a></h1>
<div id="mocha"></div>
</body>
</html>