-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathtest-runner.html
32 lines (27 loc) · 893 Bytes
/
test-runner.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OAuth Signature Generation tests</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/4.0.1/mocha.min.css">
</head>
<body>
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/4.0.1/mocha.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.min.js"></script>
<script>mocha.setup('qunit')</script>
<!-- third party libraries -->
<script src="lib/url.min.js"></script>
<script src="lib/cryptojs/hmac-sha1.js"></script>
<script src="lib/cryptojs/enc-base64-min.js"></script>
<!-- source files -->
<script src="app/oauth-signature.js"></script>
<!-- test files -->
<script src="app/oauth-signature.tests.js"></script>
<script>
// mocha.checkLeaks();
// mocha.globals(['jQuery']);
mocha.run();
</script>
</body>
</html>