flocore/test/index.html
Ryan X. Charles 0adbc55e82 make browser tests work by including testdata
...testdata was not being loaded correctly by the new browserify.js file, and
thus not all the tests were working. I have fixed this by including "testdata"
as one of the modules that is compiled by the browserify.js script.
2014-03-08 21:34:21 -05:00

54 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../browser/bundle.js"></script>
<script>
var bitcore = require('bitcore');
this.Buffer = require('buffer').Buffer;
</script>
<!-- <script src="adapter.js"></script> -->
<script src="test.Address.js"></script>
<script src="test.basic.js"></script>
<script src="test.Block.js"></script>
<script src="test.Bloom.js"></script>
<script src="test.Connection.js"></script>
<script src="test.EncodedData.js"></script>
<script src="test.Key.js"></script>
<script src="test.main.js"></script>
<script src="test.misc.js"></script>
<script src="test.Opcode.js"></script>
<script src="test.Peer.js"></script>
<script src="test.PeerManager.js"></script>
<script src="test.PrivateKey.js"></script>
<script src="test.RpcClient.js"></script>
<script src="test.Script.js"></script>
<script src="test.ScriptInterpreter.js"></script>
<script src="test.SIN.js"></script>
<script src="test.SINKey.js"></script>
<script src="test.Transaction.js"></script>
<script src="test.util.js"></script>
<script src="test.VersionedData.js"></script>
<script src="test.Wallet.js"></script>
<script src="test.WalletKey.js"></script>
<!--
-->
<script>
mocha.run();
</script>
</body>
</html>