forked from dequelabs/axe-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner.tmpl
More file actions
33 lines (29 loc) · 775 Bytes
/
runner.tmpl
File metadata and controls
33 lines (29 loc) · 775 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
33
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%=data.title%></title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/mocha/mocha.css" />
<script src="../../../node_modules/mocha/mocha.js"></script>
<script src="../../../node_modules/chai/chai.js"></script>
<script>
mocha.setup({
timeout: 10000,
ui: 'bdd'
});
var assert = chai.assert;
var global = {};
</script>
<% files.forEach(function (file) { %>
<script src="../../<%=file%>"></script>
<% }); %>
</head>
<body>
<div id="mocha"></div>
<div id="fixture"></div>
<% tests.forEach(function (file) { %>
<script src="<%=file%>"></script>
<% }); %>
<script src="/test/integration/adapter.js"></script>
</body>
</html>