]>
Commit | Line | Data |
---|---|---|
f00b6fb6 | 1 | <!doctype html> |
2 | <html> | |
3 | <head> | |
4 | <meta charset="utf-8"> | |
5 | <title>Mocha Tests</title> | |
6 | <link rel="stylesheet" href="node_modules/mocha/mocha.css" /> | |
7 | </head> | |
8 | <body> | |
9 | <!-- | |
10 | To run tests | |
11 | cd .../noVNC/tests | |
12 | npm install chai mocha | |
13 | open keyboard-tests.html in a browser | |
14 | --> | |
15 | <div id="mocha"></div> | |
16 | <script src="node_modules/chai/chai.js"></script> | |
17 | <script src="node_modules/mocha/mocha.js"></script> | |
18 | <script>mocha.setup('bdd')</script> | |
19 | <script src="../include/keysymdef.js"></script> | |
20 | <script src="../include/keyboard.js"></script> | |
21 | <script src="test.keyboard.js"></script> | |
22 | <script src="test.helper.js"></script> | |
23 | <script> | |
24 | mocha.checkLeaks(); | |
25 | mocha.globals(['navigator']); | |
26 | mocha.run(); | |
27 | </script> | |
28 | </body> | |
29 | </html> |