blob: b027c0716a8009d3eb25915959980ee769920620 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html>
<head>
<title>Mocha Tests</title>
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="node_modules/mocha/mocha.js"></script>
<script>
mocha.setup("bdd");
</script>
<!-- load code you want to test here -->
<script src="dist/stories.test.js"></script>
<script src="dist/hooks/useTalerActionURL.test.js"></script>
<!-- load your test files here -->
<script>
mocha.run();
</script>
</body>
</html>
|