diff --git a/test/index.js b/test/index.js new file mode 100644 index 000000000..375244fde --- /dev/null +++ b/test/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var should = require('chai').should(); +var bitcore = require('../'); + +describe('Library', function() { + it('should export primatives', function() { + should.exist(bitcore.crypto); + should.exist(bitcore.encoding); + should.exist(bitcore.util); + should.exist(bitcore.errors); + should.exist(bitcore.Address); + should.exist(bitcore.Block); + should.exist(bitcore.MerkleBlock); + should.exist(bitcore.BlockHeader); + should.exist(bitcore.HDPrivateKey); + should.exist(bitcore.HDPublicKey); + should.exist(bitcore.Networks); + should.exist(bitcore.Opcode); + should.exist(bitcore.PrivateKey); + should.exist(bitcore.PublicKey); + should.exist(bitcore.Script); + should.exist(bitcore.Transaction); + should.exist(bitcore.URI); + should.exist(bitcore.Unit); + }); +});