lil-http
Version:
Tiny, lightweight, full featured HTTP client
24 lines (23 loc) • 697 B
HTML
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../node_modules/mocha-phantomjs/node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../node_modules/sinon/pkg/sinon.js"></script>
<script src="../node_modules/mocha-phantomjs/node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
mocha.ui('bdd')
mocha.reporter('html')
expect = chai.expect
</script>
<script src="../http.js"></script>
<script src="http.js"></script>
<script>
if (window.mochaPhantomJS) mochaPhantomJS.run()
else mocha.run()
</script>
</body>
</html>