UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
77 lines (65 loc) 2.79 kB
/* * 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('Execution', function() { beforeEach(function() { instance = new GitChrisQueen_TDA_JS.Execution(); }); it('should create an instance of Execution', function() { // TODO: update the code to test Execution expect(instance).to.be.a(GitChrisQueen_TDA_JS.Execution); }); it('should have the property activityType (base name: "activityType")', function() { // TODO: update the code to test the property activityType expect(instance).to.have.property('activityType'); // expect(instance.activityType).to.be(expectedValueLiteral); }); it('should have the property executionLegs (base name: "executionLegs")', function() { // TODO: update the code to test the property executionLegs expect(instance).to.have.property('executionLegs'); // expect(instance.executionLegs).to.be(expectedValueLiteral); }); it('should have the property executionType (base name: "executionType")', function() { // TODO: update the code to test the property executionType expect(instance).to.have.property('executionType'); // expect(instance.executionType).to.be(expectedValueLiteral); }); it('should have the property orderRamainingQuantity (base name: "orderRamainingQuantity")', function() { // TODO: update the code to test the property orderRamainingQuantity expect(instance).to.have.property('orderRamainingQuantity'); // expect(instance.orderRamainingQuantity).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); }); }); }); }));