mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 02:12:17 -05:00
39 lines
849 B
HTML
39 lines
849 B
HTML
<!DOCTYPE html>
|
|
<html style="overflow-y: auto">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>JavaScript Unit Tests</title>
|
|
<link rel="stylesheet" href="../lib/mocha.css" />
|
|
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<script src="../lib/chai.js"></script>
|
|
<script src="../lib/mocha.js"></script>
|
|
<script src="../lib/sinon.js"></script>
|
|
|
|
<script>
|
|
window.expect = chai.expect;
|
|
mocha.setup('bdd');
|
|
</script>
|
|
|
|
<script src="../lib/openpgp.min.js"></script>
|
|
<script src="../lib/forge.min.js"></script>
|
|
<script src="index.js"></script>
|
|
|
|
<script>
|
|
mocha.checkLeaks();
|
|
mocha.globals(['chrome']);
|
|
|
|
if (window.mochaPhantomJS) {
|
|
mochaPhantomJS.run();
|
|
} else {
|
|
setTimeout(function() {
|
|
mocha.run();
|
|
}, 1000)
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|