25 lines
No EOL
559 B
HTML
25 lines
No EOL
559 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Mocha Tests</title>
|
|
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css">
|
|
<script src="bundle.js"></script>
|
|
<meta charset="utf-8"/>
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script src="../../node_modules/mocha/mocha.js"></script>
|
|
<script>mocha.setup('bdd')</script>
|
|
|
|
<!-- load code you want to test here -->
|
|
|
|
|
|
<script src="filesender.test.js"></script>
|
|
|
|
<script>
|
|
mocha.checkLeaks();
|
|
mocha.globals(['jQuery']);
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html> |