2013-05-31 07:52:04 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2014-01-21 21:25:09 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Mocha Tests</title>
|
|
|
|
<link rel="stylesheet" href="../bower_components/mocha/mocha.css" />
|
|
|
|
<script src="../bower_components/chai/chai.js"></script>
|
|
|
|
<script src="../bower_components/mocha/mocha.js"></script>
|
|
|
|
<script>
|
2014-05-26 20:29:46 +00:00
|
|
|
mocha.setup('bdd').timeout(5000).slow(250);;
|
2013-05-31 07:52:04 +00:00
|
|
|
|
2014-05-26 20:29:46 +00:00
|
|
|
// Intentional globals
|
|
|
|
expect = chai.expect;
|
|
|
|
assert = chai.assert;
|
|
|
|
|
|
|
|
window.onload = function() {
|
|
|
|
mocha.checkLeaks();
|
|
|
|
mocha.run();
|
2014-01-21 21:25:09 +00:00
|
|
|
};
|
|
|
|
</script>
|
2014-05-26 20:29:46 +00:00
|
|
|
<script src="test-bundle.js"></script>
|
2014-01-21 21:25:09 +00:00
|
|
|
</head>
|
2013-05-31 07:52:04 +00:00
|
|
|
<body>
|
2014-01-21 21:25:09 +00:00
|
|
|
<div id="mocha"></div>
|
2013-05-31 07:52:04 +00:00
|
|
|
</body>
|
|
|
|
</html>
|