UNPKG

yahoo-fantasy

Version:

An API to help facilitate the use of the Yahoo! Fantasy Sports API in NodeJS projects.

12 lines (9 loc) 310 B
import YahooFantasy from "../YahooFantasy.mjs"; var nock = require("nock"); describe("collection: teamsCollection", function() { var yf = new YahooFantasy("Y!APPLICATION_KEY", "Y!APPLICATION_SECRET"), teams = yf.teams; it("should be defined", function() { expect(teams).not.toBe(null); }); });