fix browser tests
This commit is contained in:
parent
b020fe1e80
commit
18630bb2b1
|
@ -12,6 +12,7 @@ var requireWhenAccessed = function(name, file) {
|
|||
|
||||
requireWhenAccessed('bignum', 'bignum');
|
||||
requireWhenAccessed('base58', 'base58-native');
|
||||
requireWhenAccessed('bufferput', 'bufferput');
|
||||
requireWhenAccessed('buffertools', 'buffertools');
|
||||
requireWhenAccessed('config', './config');
|
||||
requireWhenAccessed('const', './const');
|
||||
|
|
|
@ -89,6 +89,9 @@ var createBitcore = function(opts) {
|
|||
b.require(opts.dir + 'browserify-buffertools/buffertools.js', {
|
||||
expose: 'buffertools'
|
||||
});
|
||||
b.require(opts.dir + 'bufferput', {
|
||||
expose: 'bufferput'
|
||||
});
|
||||
b.require(opts.dir + 'base58-native', {
|
||||
expose: 'base58-native'
|
||||
});
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
<script src="test.RpcClient.js"></script>
|
||||
<script src="test.Script.js"></script>
|
||||
<script src="test.ScriptInterpreter.js"></script>
|
||||
<script src="test.sighash.js"></script>
|
||||
<script src="test.SIN.js"></script>
|
||||
<script src="test.SINKey.js"></script>
|
||||
<script src="test.Transaction.js"></script>
|
||||
|
|
Loading…
Reference in New Issue