unexpected
Version:
Minimalistic BDD assertion toolkit inspired by [expect.js](https://github.com/LearnBoost/expect.js)
23 lines (22 loc) • 586 B
HTML
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../vendor/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../vendor/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../unexpected.js"></script>
<script src="unexpected.spec.js"></script>
<script>
expect = weknowhow.expect;
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
</script>
</body>
</html>