Skip to content

Instantly share code, notes, and snippets.

@cou929 cou929/test.html
Created Feb 23, 2012

Embed
What would you like to do?
<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/LearnBoost/expect.js/d2440da086bf8dc38c6085641f23b968a0f48b29/expect.js"></script>
<script src="https://raw.github.com/visionmedia/mocha/master/mocha.js"></script>
<script src="ajax.js"></script>
<script>mocha.setup('bdd')</script>
<script src="test.js"></script>
<script>
$(function () {
mocha
.run()
})
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.