-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
32 lines (32 loc) · 993 Bytes
/
test.html
File metadata and controls
32 lines (32 loc) · 993 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
29
30
31
32
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
<title>Worker Frame</title>
</head>
<body>
<div id="mocha"></div>
<script src="../bower_components/mocha/mocha.js"></script>
<script src="../bower_components/should/should.min.js"></script>
<script src="../bower_components/es6-promise/promise.min.js"></script>
<script src="WebConsole.js"></script>
<script>
if (window.callPhantom) {
mocha.setup({ ui: 'bdd', reporter: WebConsole });
} else {
mocha.setup('bdd');
}
</script>
<script src="../workerframe.js"></script>
<script src="test.js"></script>
<script>
mocha.run(function (failure) {
if (window.callPhantom) {
callPhantom(failure);
}
});
</script>
</body>
</html>