UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
101 lines (85 loc) 3.95 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('TransactionTransactionItem', function() { beforeEach(function() { instance = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); }); it('should create an instance of TransactionTransactionItem', function() { // TODO: update the code to test TransactionTransactionItem expect(instance).to.be.a(GitChrisQueen_TDA_JS.TransactionTransactionItem); }); it('should have the property accountId (base name: "accountId")', function() { // TODO: update the code to test the property accountId expect(instance).to.have.property('accountId'); // expect(instance.accountId).to.be(expectedValueLiteral); }); it('should have the property amount (base name: "amount")', function() { // TODO: update the code to test the property amount expect(instance).to.have.property('amount'); // expect(instance.amount).to.be(expectedValueLiteral); }); it('should have the property cost (base name: "cost")', function() { // TODO: update the code to test the property cost expect(instance).to.have.property('cost'); // expect(instance.cost).to.be(expectedValueLiteral); }); it('should have the property instruction (base name: "instruction")', function() { // TODO: update the code to test the property instruction expect(instance).to.have.property('instruction'); // expect(instance.instruction).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 parentChildIndicator (base name: "parentChildIndicator")', function() { // TODO: update the code to test the property parentChildIndicator expect(instance).to.have.property('parentChildIndicator'); // expect(instance.parentChildIndicator).to.be(expectedValueLiteral); }); it('should have the property parentOrderKey (base name: "parentOrderKey")', function() { // TODO: update the code to test the property parentOrderKey expect(instance).to.have.property('parentOrderKey'); // expect(instance.parentOrderKey).to.be(expectedValueLiteral); }); it('should have the property positionEffect (base name: "positionEffect")', function() { // TODO: update the code to test the property positionEffect expect(instance).to.have.property('positionEffect'); // expect(instance.positionEffect).to.be(expectedValueLiteral); }); it('should have the property price (base name: "price")', function() { // TODO: update the code to test the property price expect(instance).to.have.property('price'); // expect(instance.price).to.be(expectedValueLiteral); }); }); }); }));