Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (29 sloc) 0.833 kb
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../mocha.css" />
<script src="../../mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script>
function assert(expr, msg) {
if (!expr) throw new Error(msg || 'failed');
}
</script>
<script src="array.js"></script>
<script src="../acceptance/duration.js"></script>
<script src="../acceptance/timeout.js"></script>
<script>
onload = function(){
var runner = mocha.run();
runner.globals(['foo', 'bar', 'baz']);
// runner.on('test end', function(test){
// console.log(test.fullTitle());
// });
};
</script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.