yahoo-fantasy-without-auth
Version:
NodeJS wrapper for the Yahoo! Fantasy Sports API. Needed to implement Yahoo OAuth 2.0 flows in your own app
16 lines (11 loc) • 321 B
JavaScript
var YahooFantasy = require('../../index.js');
var nock = require('nock');
describe ("collection: usersCollection", function(){
var yf = new YahooFantasy(
'Y!APPLICATION_KEY',
'Y!APPLICATION_SECRET')
, users = yf.users;
it ("should be defined", function() {
expect(users).not.toBe(null);
});
});