51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Ethers Test Suite</title>
|
|
<meta charset="UTF-8">
|
|
<link href="../../node_modules/mocha/mocha.css" rel="stylesheet" />
|
|
<style type="text/css">
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script src="../../node_modules/mocha/mocha.js"></script>
|
|
<script src="../shims/dist/index.min.js"></script>
|
|
|
|
<!-- Inject the mocha describe and it functions -->
|
|
<script type="text/javascript">
|
|
// https://github.com/nathanboktae/mocha-phantomjs-core#usage
|
|
if (typeof(initMochaPhantomJS) === 'function') {
|
|
initMochaPhantomJS();
|
|
}
|
|
|
|
// Inject the mocha describe and it functions
|
|
mocha.setup({ ui: 'bdd' });
|
|
</script>
|
|
|
|
<!-- Load the browser dist ethers package -->
|
|
<script type="text/javascript" src="../ethers/dist/ethers.min.js"></script>
|
|
<!--
|
|
<script type="text/javascript" src="../dist/wordlist-es.js"></script>
|
|
<script type="text/javascript" src="../dist/wordlist-fr.js"></script>
|
|
<script type="text/javascript" src="../dist/wordlist-it.js"></script>
|
|
<script type="text/javascript" src="../dist/wordlist-ja.js"></script>
|
|
<script type="text/javascript" src="../dist/wordlist-ko.js"></script>
|
|
<script type="text/javascript" src="../dist/wordlist-zh.js"></script>
|
|
-->
|
|
|
|
<!-- Our test cases; compiled by browserify -->
|
|
<script src="./dist/tests.js" type="text/javascript"></script>
|
|
|
|
<!-- Run the test cases! -->
|
|
<script type="text/javascript">
|
|
mocha.reporter();
|
|
|
|
// Use this to focus on specific test cases
|
|
//mocha.grep(new RegExp('easyseed')).run();
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|