forked from auth0/auth0.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_harness.html
38 lines (33 loc) · 932 Bytes
/
test_harness.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
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests Harness</title>
<link rel="stylesheet" href="/node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<!-- support -->
<script src="/node_modules/mocha/mocha.js"></script>
<script src="/node_modules/expect.js/expect.js"></script>
<script src="/node_modules/sinon/pkg/sinon-1.16.1.js"></script>
<script src="/test/support/config.js"></script>
<!-- libs -->
<script src="/build/auth0.js"></script>
<!-- config -->
<script>
mocha.timeout(60000);
mocha.ui('bdd');
mocha.reporter('html');
mocha.setup({ ignoreLeaks: true });
</script>
<!-- tests -->
<script src="/test/tests.js"></script>
<script src="/test/user-and-pass.tests.js"></script>
<script src="/test/passwordless.tests.js"></script>
<script src="/test/logout.js"></script>
<!-- start -->
<script>
mocha.run();
</script>
</body>
</html>