-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
36 lines (33 loc) · 1.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Typeson Tests</title>
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
<link rel="stylesheet" href="../node_modules/mocha/mocha.css"/>
</head>
<body>
<h1>Typeson Tests</h1>
<div id="mocha"></div>
<!-- Test Environment -->
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<!-- <script src="../node_modules/sinon/pkg/sinon-no-sourcemaps.js"></script> -->
<script type="importmap">
{
"imports": {
"mocha": "./mochaESMLoader.js",
"chai": "./chaiESMLoader.js",
"base64-arraybuffer-es6": "../node_modules/base64-arraybuffer-es6/dist/base64-arraybuffer-es.js"
}
}
</script>
<script type="module">
mocha.setup({ui: 'bdd', timeout: 5000});
</script>
<script type="module">
import './test.js';
mocha.run();
</script>
</body>
</html>