-
Notifications
You must be signed in to change notification settings - Fork 0
/
qunit.html
40 lines (34 loc) · 1001 Bytes
/
qunit.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bookvark QUnit Example</title>
<link rel="stylesheet" href="vendor/qunit/qunit/qunit.css">
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="vendor/requirejs/require.js"></script>
<script type="text/javascript" src="vendor/qunit/qunit/qunit.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script type="text/javascript">
var unitTests = [
'UrlTagStoreTests',
'IntranetTagStoreTests',
'TitleTagStoreTests',
'StopWordFilterTests',
'HtmlParserTests',
'FolderTests',
'FolderFilterTests'
];
unitTests.sort();
var testFiles = unitTests.map(function (testType) {
return 'UnitTests/' + testType;
});
QUnit.config.autostart = false;
require(testFiles, function () {
QUnit.start();
});
</script>
</body>
</html>