2019-05-14 18:25:46 -04:00
|
|
|
<!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">
|
|
|
|
// Inject the mocha describe and it functions
|
|
|
|
mocha.setup({ ui: 'bdd' });
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- Load the browser dist ethers package -->
|
2019-11-23 21:38:13 +09:00
|
|
|
<script type="text/javascript" src="../ethers/dist/ethers-all.umd.min.js"></script>
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
<!-- Our test cases; compiled by browserify -->
|
2019-11-23 21:38:13 +09:00
|
|
|
<script src="./dist/tests.umd.js" type="text/javascript"></script>
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
<!-- Run the test cases! -->
|
|
|
|
<script type="text/javascript">
|
2019-11-23 21:38:13 +09:00
|
|
|
mocha.reporter(testing.Reporter);
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
// Use this to focus on specific test cases
|
2019-11-23 21:38:13 +09:00
|
|
|
//mocha.grep(new RegExp('easyseed-es')).run();
|
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
mocha.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|