kshvmdn / nba.js

Node.js library for NBA stats
http://npmjs.com/package/nba.js
MIT License
357 stars 47 forks source link

Endpoint tests #4

Open kashav opened 8 years ago

kashav commented 8 years ago

Tests should be more exhaustive, particularly for the endpoint methods. They're currently not tested at all (individually), but probably should be.

I'm thinking most could be kept to 2 tests - one with the preset defaults and another with custom query options. In the case that there's an exception for a given method (unique defaults, etc.), there should be some more specific tests.