blob: ec49a418fc3df45a57cb0a50a1f373f398f73c41 (
plain)
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
|
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../../mocha.css" />
<script src="../../mocha.js"></script>
<script>
mocha.setup({
ui: 'bdd',
globals: ['okGlobalA', 'okGlobalB', 'okGlobalC', 'callback*']
}).timeout(1500)
</script>
<script>
function assert(expr, msg) {
if (!expr) throw new Error(msg || 'failed');
}
</script>
<script src="opts.js"></script>
<script src="../acceptance/globals.js"></script>
<script>
onload = function(){
var runner = mocha.run();
};
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>
|