diff options
Diffstat (limited to 'node_modules/mousetrap/tests/mousetrap.html')
-rw-r--r-- | node_modules/mousetrap/tests/mousetrap.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/node_modules/mousetrap/tests/mousetrap.html b/node_modules/mousetrap/tests/mousetrap.html new file mode 100644 index 0000000000..9cf84d6e8a --- /dev/null +++ b/node_modules/mousetrap/tests/mousetrap.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<head> + <meta charset="utf-8"> + <title>Mousetrap Tests</title> + <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> +</head> +<body> + <div id="mocha"></div> + + <script src="../node_modules/chai/chai.js"></script> + <script src="../node_modules/sinon/pkg/sinon.js"></script> + <script src="../node_modules/mocha/mocha.js"></script> + <script src="../mousetrap.js"></script> + <script src="libs/key-event.js"></script> + + <script>mocha.setup('bdd')</script> + <script src="test.mousetrap.js"></script> + + <script> + mocha.checkLeaks(); + mocha.globals(['Mousetrap']); + mocha.run(); + </script> +</body> |