33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
|
||
|
<head>
|
||
|
<title>VM</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="../index.css" />
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<h2><a href="../">DGF Tests</a></h2>
|
||
|
<div id="mocha"></div>
|
||
|
<div id="scene"></div>
|
||
|
</body>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/radash/10.7.0/radash.js"
|
||
|
integrity="sha512-S207zKWG3iqXqe6msO7/Mr8X3DzzF4u8meFlokHjGtBPTGUhgzVo0lpcqEy0GoiMUdcoct+H+SqzoLsxXbynzg=="
|
||
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||
|
<script src="https://unpkg.com/mocha/mocha.js"></script>
|
||
|
<script src="https://unpkg.com/chai/chai.js"></script>
|
||
|
<script type="module" src="./scripts/vm.test.js"></script>
|
||
|
<script defer class="mocha-init">
|
||
|
mocha.setup({
|
||
|
ui: 'bdd',
|
||
|
globals: ['vm', '__REACT_DEVTOOLS_*'],
|
||
|
});
|
||
|
mocha.checkLeaks();
|
||
|
window.should = chai.should();
|
||
|
</script>
|
||
|
<script defer class="mocha-exec">
|
||
|
// TODO: Weird race condition -- resolve this in a better way
|
||
|
setTimeout(() => mocha.run(), 1000);
|
||
|
</script>
|