24 lines
555 B
HTML
24 lines
555 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>
|
|
|
|
<script src="frontend.test.js"></script>
|
|
|
|
<script>
|
|
mocha.checkLeaks();
|
|
mocha.globals(['jQuery']);
|
|
mocha.run(function(err) {
|
|
document.title = err;
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |