Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (22 sloc) 0.693 kb
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="https://raw.github.com/visionmedia/mocha/master/mocha.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="https://raw.github.com/visionmedia/mocha/master/mocha.js"></script>
<script type="text/javascript" src="../lib/expectThat.mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="./min/expectThat.mocha.specs.js"></script>
<script>
$(function () {
mocha
.run()
.globals(['foo', 'bar']) // acceptable globals
})
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.