2013-08-19 15:13:32 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html style="overflow-y: auto">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>JavaScript Unit Tests</title>
|
2013-10-02 09:47:41 -04:00
|
|
|
<link rel="stylesheet" href="../lib/mocha.css" />
|
2013-08-19 15:13:32 -04:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mocha"></div>
|
2014-10-07 14:32:23 -04:00
|
|
|
|
2013-10-02 09:47:41 -04:00
|
|
|
<script src="../lib/chai.js"></script>
|
|
|
|
<script src="../lib/mocha.js"></script>
|
2014-10-07 14:32:23 -04:00
|
|
|
<script src="../lib/sinon.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
window.expect = chai.expect;
|
|
|
|
mocha.setup('bdd');
|
|
|
|
</script>
|
2013-08-19 15:13:32 -04:00
|
|
|
|
2014-10-20 12:44:39 -04:00
|
|
|
<script src="../lib/openpgp.min.js"></script>
|
2014-10-09 09:23:41 -04:00
|
|
|
<script src="../lib/forge.min.js"></script>
|
2014-10-07 14:32:23 -04:00
|
|
|
<script src="index.js"></script>
|
2014-10-09 09:23:41 -04:00
|
|
|
|
2014-10-07 14:32:23 -04:00
|
|
|
<script>
|
|
|
|
mocha.checkLeaks();
|
2014-10-09 10:51:39 -04:00
|
|
|
mocha.globals(['chrome']);
|
2014-10-09 11:31:01 -04:00
|
|
|
|
|
|
|
if (window.mochaPhantomJS) {
|
|
|
|
mochaPhantomJS.run();
|
|
|
|
} else {
|
|
|
|
mocha.run();
|
|
|
|
}
|
2014-10-07 14:32:23 -04:00
|
|
|
</script>
|
2013-08-19 15:13:32 -04:00
|
|
|
</body>
|
|
|
|
</html>
|