22 lines
510 B
HTML
22 lines
510 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Mocha Tests</title>
|
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
|
<script src="../node_modules/chai/chai.js"></script>
|
|
<script src="../node_modules/mocha/mocha.js"></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>
|