2017-07-12 16:00:02 +00: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 20:05:06 +00:00
|
|
|
<script src="frontend.test.js"></script>
|
2017-07-12 16:00:02 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
mocha.checkLeaks();
|
|
|
|
mocha.globals(['jQuery']);
|
2017-07-17 16:39:51 +00:00
|
|
|
mocha.run(function(err) {
|
|
|
|
document.title = err;
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script>
|
2017-07-12 16:00:02 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|