Merge pull request #63 from coinpunk/coverage
cleanup runners, add coverage script, fix typo
This commit is contained in:
commit
e9fab62f33
3 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
node_modules
|
||||
bitcoinjs-min.js
|
||||
coverage
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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…
Reference in a new issue