@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
67 lines (56 loc) • 1.92 kB
JavaScript
/*
* TD Ameritrade API - OAuth2
* This is replication of the TD Ameritrade API.
*
* OpenAPI spec version: 0.1.4
*
* 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.14
*
* 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.GitChrisQueen_TDA_JS);
}
}(this, function(expect, GitChrisQueen_TDA_JS) {
'use strict';
var instance;
describe('(package)', function() {
describe('FrequencyType', function() {
beforeEach(function() {
instance = GitChrisQueen_TDA_JS.FrequencyType;
});
it('should create an instance of FrequencyType', function() {
// TODO: update the code to test FrequencyType
expect(instance).to.be.a('object');
});
it('should have the property minute', function() {
expect(instance).to.have.property('minute');
expect(instance.minute).to.be("minute");
});
it('should have the property daily', function() {
expect(instance).to.have.property('daily');
expect(instance.daily).to.be("daily");
});
it('should have the property weekly', function() {
expect(instance).to.have.property('weekly');
expect(instance.weekly).to.be("weekly");
});
it('should have the property monthly', function() {
expect(instance).to.have.property('monthly');
expect(instance.monthly).to.be("monthly");
});
});
});
}));