2018-05-05 05:29:22 +02:00
|
|
|
<html>
|
|
|
|
<!-- From https://medium.com/dailyjs/running-mocha-tests-as-native-es6-modules-in-a-browser-882373f2ecb0 -->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Mocha Tests</title>
|
|
|
|
<link href="https://unpkg.com/mocha@4.0.1/mocha.css" rel="stylesheet" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
|
|
|
|
|
|
|
<script src="https://unpkg.com/mocha@4.0.1/mocha.js"></script>
|
|
|
|
|
|
|
|
<script>mocha.setup('bdd')</script>
|
2018-05-05 05:36:39 +02:00
|
|
|
<script type="module" src="../dist/tests.bundle.js"></script>
|
2018-05-05 05:29:22 +02:00
|
|
|
<script type="module">
|
|
|
|
mocha.checkLeaks();
|
|
|
|
mocha.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|