mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
24 lines
755 B
HTML
24 lines
755 B
HTML
<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@6.1.4/mocha.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<script src="https://unpkg.com/chai/chai.js"></script>
|
|
<script src="https://unpkg.com/mocha/mocha.js"></script>
|
|
|
|
<script class="mocha-init">
|
|
mocha.setup('bdd');
|
|
mocha.checkLeaks();
|
|
</script>
|
|
<script type="module" src="tests.bundle.js"></script>
|
|
<script class="mocha-exec" type="module">
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|