-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
29 lines (26 loc) · 869 Bytes
/
test.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
<!DOCTYPE html>
<html>
<head>
<title>Mocha Tests</title>
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
</head>
<body>
<!-- App Dependencies -->
<script src="./node_modules/react/umd/react.development.js"></script>
<script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
<!-- Test Dependencies -->
<div id="mocha"></div>
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/chai/chai.js"></script>
<script>
mocha.setup("bdd");
window.THIS_IS_UNIT_TESTS = true;
</script>
<!-- <script src="dist/main.js"></script> -->
<script src="dist/test.js"></script>
<div id="app-test" />
<script>
mocha.run();
</script>
</body>
</html>