@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
83 lines (70 loc) • 2.9 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('Mover', function() {
beforeEach(function() {
instance = new GitChrisQueen_TDA_JS.Mover();
});
it('should create an instance of Mover', function() {
// TODO: update the code to test Mover
expect(instance).to.be.a(GitChrisQueen_TDA_JS.Mover);
});
it('should have the property change (base name: "change")', function() {
// TODO: update the code to test the property change
expect(instance).to.have.property('change');
// expect(instance.change).to.be(expectedValueLiteral);
});
it('should have the property description (base name: "description")', function() {
// TODO: update the code to test the property description
expect(instance).to.have.property('description');
// expect(instance.description).to.be(expectedValueLiteral);
});
it('should have the property direction (base name: "direction")', function() {
// TODO: update the code to test the property direction
expect(instance).to.have.property('direction');
// expect(instance.direction).to.be(expectedValueLiteral);
});
it('should have the property last (base name: "last")', function() {
// TODO: update the code to test the property last
expect(instance).to.have.property('last');
// expect(instance.last).to.be(expectedValueLiteral);
});
it('should have the property symbol (base name: "symbol")', function() {
// TODO: update the code to test the property symbol
expect(instance).to.have.property('symbol');
// expect(instance.symbol).to.be(expectedValueLiteral);
});
it('should have the property totalVolume (base name: "totalVolume")', function() {
// TODO: update the code to test the property totalVolume
expect(instance).to.have.property('totalVolume');
// expect(instance.totalVolume).to.be(expectedValueLiteral);
});
});
});
}));