UNPKG

cfb.js

Version:

This_is_an_API_for_accessing_all_sorts_of_college_football_data___Please_note_that_API_keys_should_be_supplied_with_Bearer__prepended__e_g__Bearer_your_key__API_keys_can_be_acquired_from_the_CollegeFootballData_com_website_

60 lines (51 loc) 1.94 kB
/* * College Football Data API * This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. * * OpenAPI spec version: 4.3.2 * Contact: admin@collegefootballdata.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.24 * * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', '../../src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require('../../src/index')); } else { // Browser globals (root is window) factory(root.expect, root.cfb); } }(this, function(expect, cfb) { 'use strict'; var instance; describe('(package)', function() { describe('PlayStatType', function() { beforeEach(function() { instance = new cfb.PlayStatType(); }); it('should create an instance of PlayStatType', function() { // TODO: update the code to test PlayStatType expect(instance).to.be.a(cfb.PlayStatType); }); it('should have the property id (base name: "id")', function() { // TODO: update the code to test the property id expect(instance).to.have.property('id'); // expect(instance.id).to.be(expectedValueLiteral); }); it('should have the property name (base name: "name")', function() { // TODO: update the code to test the property name expect(instance).to.have.property('name'); // expect(instance.name).to.be(expectedValueLiteral); }); }); }); }));