2018-05-05 05:29:22 +02:00
|
|
|
<html>
|
2019-05-10 04:03:13 +02:00
|
|
|
<!-- NOT CURRENTLY USED. Used to run mocha in browser -->
|
2018-05-05 05:29:22 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Mocha Tests</title>
|
2019-04-28 10:23:11 +02:00
|
|
|
<link href="https://unpkg.com/mocha@6.1.4/mocha.css" rel="stylesheet" />
|
2018-05-05 05:29:22 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
|
|
|
|
2019-05-07 03:01:06 +02:00
|
|
|
<script defer src="https://unpkg.com/chai/chai.js"></script>
|
|
|
|
<script defer src="https://unpkg.com/mocha/mocha.js"></script>
|
2018-05-05 05:29:22 +02:00
|
|
|
|
2019-05-07 03:01:06 +02:00
|
|
|
<script type="module" class="mocha-init">
|
2019-04-28 10:23:11 +02:00
|
|
|
mocha.setup('bdd');
|
2018-05-05 05:29:22 +02:00
|
|
|
mocha.checkLeaks();
|
2019-04-28 10:23:11 +02:00
|
|
|
</script>
|
2019-05-10 04:51:56 +02:00
|
|
|
<script type="module" src="test.bundle.js"></script>
|
2019-04-28 10:23:11 +02:00
|
|
|
<script class="mocha-exec" type="module">
|
2019-05-07 03:01:06 +02:00
|
|
|
console.log("Running Tests");
|
2018-05-05 05:29:22 +02:00
|
|
|
mocha.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|