filer/tests/index.html

25 lines
867 B
HTML

<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/mocha/1.21.4/mocha.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/mocha/1.21.4/mocha.js"></script>
<script>window.mocha || document.write('<script src="../node_modules/mocha/mocha.js"><\/script>')</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/chai/1.9.2/chai.min.js"></script>
<script>window.chai || document.write('<script src="../node_modules/chai/chai.js"><\/script>')</script>
<script>
mocha.setup('bdd').timeout(5000).slow(250);;
window.onload = function() {
mocha.checkLeaks();
mocha.run();
};
</script>
<script src="../dist/filer-test.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>