26 lines
595 B
HTML
26 lines
595 B
HTML
<html>
|
|
<head>
|
|
<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>
|
|
mocha.setup('bdd').timeout(5000).slow(250);;
|
|
|
|
// Intentional globals
|
|
expect = chai.expect;
|
|
assert = chai.assert;
|
|
|
|
window.onload = function() {
|
|
mocha.checkLeaks();
|
|
mocha.run();
|
|
};
|
|
</script>
|
|
<script src="test-bundle.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
</body>
|
|
</html>
|