Created
December 3, 2019 00:01
-
-
Save dhuang612/95e11562558d1f25c6a225659a76b5d7 to your computer and use it in GitHub Desktop.
mocha browser tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Mocha</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="../../mocha.css"> | |
</head> | |
<body> | |
<div id="mocha"></div> | |
<script src="../mocha.js"></script> | |
<script>mocha.setup('bdd');</script> | |
<script src="../test.js"></script> | |
<script> | |
mocha.run(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment