Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (29 sloc) 846 Bytes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>Exercises.js Tests</title>
<link rel="stylesheet" href="vendor/mocha.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="vendor/mocha.js"></script>
<script src="vendor/chai.js"></script>
<script>
chai.should();
mocha.setup('bdd');
$(function () {
mocha
.run()
.globals(['Example']) // acceptable globals
})
</script>
<!-- include dependency files here... -->
<!-- include source files here... -->
<script src="../example.js"></script>
<!-- include test files here... -->
<script src="lib/example-test.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>