This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbrowser.html
48 lines (41 loc) · 1.51 KB
/
browser.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
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SuperPowered API Testing | Mocha+Chai lets you test your API in web browsers!</title>
<link rel="stylesheet" href="lib/mocha.css"/>
</head>
<body>
<div id="mocha"></div>
<!-- Third-Party Libraries -->
<script src="lib/mocha.js"></script>
<script src="lib/chai.js"></script>
<script src="lib/karma-host-environment.js"></script>
<script src="lib/chai-http.js"></script>
<script src="lib/jsonpointer.js"></script>
<script src="lib/tv4.js"></script>
<script src="lib/chai-json-schema.js"></script>
<script>
mocha.setup({
ui: 'bdd',
timeout: 10000,
});
</script>
<!-- Test Fixutres -->
<script src="test/fixtures/assertions.js"></script>
<script src="test/fixtures/before-each.js"></script>
<script src="test/fixtures/environment.js"></script>
<script src="test/fixtures/open-api.js"></script>
<script src="test/fixtures/setup-chai.js"></script>
<!-- Tests -->
<script src="test/specs/get-all-characters.spec.js"></script>
<script src="test/specs/search-characters.spec.js"></script>
<script src="test/specs/get-character.spec.js"></script>
<script src="test/specs/create-character.spec.js"></script>
<script src="test/specs/update-character.spec.js"></script>
<script>
mocha.run();
</script>
</body>
</html>