Skip to content

Commit

Permalink
ECDSA key browser work
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Feb 24, 2014
1 parent 68959fd commit 0f393cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bitcore.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports.Block = require('./Block');
module.exports.Connection = require('./Connection');
module.exports.ScriptInterpreter = require('./ScriptInterpreter');
module.exports.Bloom = require('./Bloom');
module.exports.Key = require('./Key').Key;
module.exports.KeyModule = require('./Key');
module.exports.SINKey = require('./SINKey');
module.exports.SIN = require('./SIN');
module.exports.PrivateKey = require('./PrivateKey');
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<script src="test.SIN.js"></script>
<script src="test.Transaction.js"></script>
<script src="test.VersionedData.js"></script>
<script src="test.Wallet.js"></script>
<!--
<script src="test.Wallet.js"></script>
<script src="test.WalletKey.js"></script>
<script src="test.basic.js"></script>
<script src="test.SINKey.js"></script>
Expand Down
10 changes: 7 additions & 3 deletions test/test.Key.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ var bitcore = require('../bitcore');

var should = chai.should();

var Key = bitcore.Key;

describe.skip('Key', function() {
var KeyModule = bitcore.KeyModule;
var Key;
describe('Key', function() {
it('should initialze the main object', function() {
should.exist(KeyModule);
});
it('should be able to create class', function() {
Key = KeyModule.Key;
should.exist(Key);
});
it('should be able to create instance', function() {
Expand Down

0 comments on commit 0f393cb

Please sign in to comment.