mkreiser / ESPN-Fantasy-Football-API

Connect to ESPN's fantasy football API via this JS API client for web and NodeJS. Available as an npm package.
http://espn-fantasy-football-api.s3-website.us-east-2.amazonaws.com/
GNU Lesser General Public License v3.0
296 stars 74 forks source link

Throw errors when invalid season IDs are passed to Client methods #235

Closed mkreiser closed 9 months ago

mkreiser commented 9 months ago

Man there's a lot of code I need to clean up famous_last_words.png

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1196a72) 100.00% compared to head (b5f2fee) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #235 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 14 14 Lines 253 266 +13 Branches 39 43 +4 ========================================= + Hits 253 266 +13 ``` | [Files](https://app.codecov.io/gh/mkreiser/ESPN-Fantasy-Football-API/pull/235?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mike+Kreiser) | Coverage Δ | | |---|---|---| | [src/client/client.js](https://app.codecov.io/gh/mkreiser/ESPN-Fantasy-Football-API/pull/235?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mike+Kreiser#diff-c3JjL2NsaWVudC9jbGllbnQuanM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.