ethers.js/tests/test.html

49 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2017-02-27 01:51:27 -05:00
<!doctype html>
<html>
<head>
2017-10-22 17:47:17 -04:00
<title>Ethers Test Suite</title>
2017-02-27 01:51:27 -05:00
<meta charset="UTF-8">
2017-10-22 17:47:17 -04:00
<link href="../node_modules/mocha/mocha.css" rel="stylesheet" />
2017-02-27 01:51:27 -05:00
<style type="text/css">
</style>
</head>
<body>
2017-10-22 17:47:17 -04:00
<div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script>
2018-11-08 18:25:16 -05:00
<script src="../dist/shims.js"></script>
2018-06-03 02:42:53 -04:00
<!-- Inject the mocha describe and it functions -->
<script type="text/javascript">
2017-10-22 17:47:17 -04:00
// https://github.com/nathanboktae/mocha-phantomjs-core#usage
if (typeof(initMochaPhantomJS) === 'function') {
initMochaPhantomJS();
}
// Inject the mocha describe and it functions
mocha.setup({ ui: 'bdd' });
2017-10-22 17:47:17 -04:00
</script>
<!-- Load the browser dist ethers package -->
<script type="text/javascript" src="../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>
2018-07-16 00:19:50 -04:00
<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>
2017-10-22 17:47:17 -04:00
<!-- 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(tests.reporter);
2018-06-03 02:42:53 -04:00
// Use this to focus on specific test cases
//mocha.grep(new RegExp('easyseed')).run();
2017-10-22 17:47:17 -04:00
mocha.run();
2017-02-27 01:51:27 -05:00
</script>
</body>
</html>