add tests for client, error-handler, matches, participants, tournaments. ...
add tests for client, error-handler, matches, participants, tournaments. update coverage npm script to get 100% coverage
Showing
lib/api/matches.spec.js
0 → 100644
lib/api/participants.spec.js
0 → 100644
lib/api/tournaments.spec.js
0 → 100644
| ... | @@ -4,16 +4,13 @@ | ... | @@ -4,16 +4,13 @@ |
| "author": "Aaron Tiwell <aaron.tidwell@gmail.com>", | "author": "Aaron Tiwell <aaron.tidwell@gmail.com>", | ||
| "main": "./lib/challonge.js", | "main": "./lib/challonge.js", | ||
| "version": "1.2.0", | "version": "1.2.0", | ||
| "contributors": [ | "contributors": [{ | ||
| { | |||
| "name": "Ricardo Reis", | "name": "Ricardo Reis", | ||
| "email": "ricardojoaoreis@gmail.com" | "email": "ricardojoaoreis@gmail.com" | ||
| }, | }, { | ||
| { | |||
| "name": "Jonas Vanen", | "name": "Jonas Vanen", | ||
| "email": "jonas.vanen@gmail.com" | "email": "jonas.vanen@gmail.com" | ||
| } | }], | ||
| ], | |||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| "url": "https://github.com/Tidwell/node-challonge" | "url": "https://github.com/Tidwell/node-challonge" | ||
| ... | @@ -35,7 +32,7 @@ | ... | @@ -35,7 +32,7 @@ |
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "test": "./node_modules/jasmine/bin/jasmine.js", | "test": "./node_modules/jasmine/bin/jasmine.js", | ||
| "coverage": "node ./node_modules/istanbul/lib/cli.js cover --include-all-sources ./node_modules/jasmine/bin/jasmine.js" | "coverage": "node ./node_modules/istanbul/lib/cli.js cover --include-all-sources ./node_modules/jasmine/bin/jasmine.js -x '**/spec/**' -x '**/key.js'" | ||
| }, | }, | ||
| "engine": "node >= 0.10.x" | "engine": "node >= 0.10.x" | ||
| } | } |
Please register or sign in to comment