2017-07-12 18:00:02 +02:00
|
|
|
<!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>
|
|
|
|
|
2017-07-12 22:05:06 +02:00
|
|
|
<script src="frontend.test.js"></script>
|
2017-07-12 18:00:02 +02:00
|
|
|
|
|
|
|
<script>
|
|
|
|
mocha.checkLeaks();
|
|
|
|
mocha.globals(['jQuery']);
|
|
|
|
mocha.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|