ethers.js/packages/tests/test-umd.html

39 lines
1.2 KiB
HTML
Raw Permalink Normal View History

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 -->
<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 -->
<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">
mocha.reporter(testing.Reporter);
2019-05-14 18:25:46 -04:00
// Use this to focus on specific test cases
//mocha.grep(new RegExp('easyseed-es')).run();
2019-05-14 18:25:46 -04:00
mocha.run();
</script>
</body>
</html>