Browse Source

cleanup runners, add coverage script, fix typo

hk-custom-address
Kyle Drake 11 years ago
parent
commit
c277fed4e1
No known key found for this signature in database GPG Key ID: 8BE721072E1864BE
  1. 1
      .gitignore
  2. 5
      package.json
  3. 2
      test/ec.js

1
.gitignore

@ -1,2 +1,3 @@
node_modules
bitcoinjs-min.js
coverage

5
package.json

@ -35,8 +35,9 @@
"files": "test/*.js"
},
"scripts": {
"test": "istanbul test ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"compile": "browserify src/index.js -s Bitcoin | uglifyjs > bitcoinjs-min.js"
"test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"compile": "./node_modules/.bin/browserify -s Bitcoin | ./node_modules/.bin/uglifyjs > bitcoinjs-min.js"
},
"dependencies": {
"crypto-js": "~3.1.2-2"

2
test/ec.js

@ -6,7 +6,7 @@ var ecdsa = require('../').ecdsa;
var ecparams = sec('secp256k1');
describe('ecdsa', function() {
it('handles point ultiplication', function() {
it('handles point multiplication', function() {
var G = ecparams.getG();
var n = ecparams.getN();

Loading…
Cancel
Save