mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
25 lines
771 B
HTML
25 lines
771 B
HTML
<html>
|
|
<!-- NOT CURRENTLY USED. Used to run mocha in browser -->
|
|
<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 defer src="https://unpkg.com/chai/chai.js"></script>
|
|
<script defer src="https://unpkg.com/mocha/mocha.js"></script>
|
|
|
|
<script type="module" class="mocha-init">
|
|
mocha.setup('bdd');
|
|
mocha.checkLeaks();
|
|
</script>
|
|
<script type="module" src="test.bundle.js"></script>
|
|
<script class="mocha-exec" type="module">
|
|
console.log("Running Tests");
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|