forked from chaijs/chai-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (31 loc) · 927 Bytes
/
index.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
<!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>chai-http browser tests</title>
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<!-- Mocha + Chai -->
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/chai/chai.js"></script>
<!-- chai-http -->
<script src="dist/chai-http.js"></script>
<!-- Bootstrap -->
<script src="node_modules/es6-shim/es6-shim.js"></script>
<script>
mocha.setup('bdd');
expect = chai.expect;
chai.should();
chai.use(chaiHttp);
</script>
<!-- Tests -->
<script src="test/http.js"></script>
<script src="test/request.js"></script>
<script>
mocha.run();
</script>
</body>
</html>