test/test-browser.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
<style>
#mocha .test pre {
font-family: "Ricty";
}
</style>
<title>Tests on Browser</title>
</head>
<body>
<div id="mocha"></div>
<script type="text/javascript" src="../local_build/assert.js"></script>
<script type="text/javascript" src="../node_modules/empower/build/empower.js"></script>
<script type="text/javascript" src="../local_build/power-assert-formatter.js"></script>
<script type="text/javascript" src="../node_modules/esprima/esprima.js"></script>
<script type="text/javascript" src="../local_build/escodegen.js"></script>
<script type="text/javascript" src="../node_modules/espower/build/espower.js"></script>
<script type="text/javascript" src="../bower_components/mocha/mocha.js"></script>
<script type="text/javascript">
mocha.setup('tdd');
</script>
<script type="text/javascript" src="./options_test.js"></script>
<script type="text/javascript" src="./power_assert_formatter_test.js"></script>
<script type="text/javascript">
mocha.checkLeaks();
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
</script>
</body>
</html>