@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
89 lines (75 loc) • 3.34 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('WatchListWatchlistItems', function() {
beforeEach(function() {
instance = new GitChrisQueen_TDA_JS.WatchListWatchlistItems();
});
it('should create an instance of WatchListWatchlistItems', function() {
// TODO: update the code to test WatchListWatchlistItems
expect(instance).to.be.a(GitChrisQueen_TDA_JS.WatchListWatchlistItems);
});
it('should have the property averagePrice (base name: "averagePrice")', function() {
// TODO: update the code to test the property averagePrice
expect(instance).to.have.property('averagePrice');
// expect(instance.averagePrice).to.be(expectedValueLiteral);
});
it('should have the property commission (base name: "commission")', function() {
// TODO: update the code to test the property commission
expect(instance).to.have.property('commission');
// expect(instance.commission).to.be(expectedValueLiteral);
});
it('should have the property instrument (base name: "instrument")', function() {
// TODO: update the code to test the property instrument
expect(instance).to.have.property('instrument');
// expect(instance.instrument).to.be(expectedValueLiteral);
});
it('should have the property purchasedDate (base name: "purchasedDate")', function() {
// TODO: update the code to test the property purchasedDate
expect(instance).to.have.property('purchasedDate');
// expect(instance.purchasedDate).to.be(expectedValueLiteral);
});
it('should have the property quantity (base name: "quantity")', function() {
// TODO: update the code to test the property quantity
expect(instance).to.have.property('quantity');
// expect(instance.quantity).to.be(expectedValueLiteral);
});
it('should have the property sequenceId (base name: "sequenceId")', function() {
// TODO: update the code to test the property sequenceId
expect(instance).to.have.property('sequenceId');
// expect(instance.sequenceId).to.be(expectedValueLiteral);
});
it('should have the property status (base name: "status")', function() {
// TODO: update the code to test the property status
expect(instance).to.have.property('status');
// expect(instance.status).to.be(expectedValueLiteral);
});
});
});
}));