UNPKG

upstox-js-sdk

Version:

The official Node Js client for communicating with the Upstox API

100 lines (85 loc) 3.96 kB
/* * OpenAPI definition * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 3.0.62 * * 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.UpstoxClient); } }(this, function(expect, UpstoxClient) { 'use strict'; var instance; describe('(package)', function() { describe('CancelOrExitOrderErrorData', function() { beforeEach(function() { instance = new UpstoxClient.CancelOrExitOrderErrorData(); }); it('should create an instance of CancelOrExitOrderErrorData', function() { // TODO: update the code to test CancelOrExitOrderErrorData expect(instance).to.be.a(UpstoxClient.CancelOrExitOrderErrorData); }); it('should have the property errorCode (base name: "errorCode")', function() { // TODO: update the code to test the property errorCode expect(instance).to.have.property('errorCode'); // expect(instance.errorCode).to.be(expectedValueLiteral); }); it('should have the property message (base name: "message")', function() { // TODO: update the code to test the property message expect(instance).to.have.property('message'); // expect(instance.message).to.be(expectedValueLiteral); }); it('should have the property propertyPath (base name: "propertyPath")', function() { // TODO: update the code to test the property propertyPath expect(instance).to.have.property('propertyPath'); // expect(instance.propertyPath).to.be(expectedValueLiteral); }); it('should have the property invalidValue (base name: "invalidValue")', function() { // TODO: update the code to test the property invalidValue expect(instance).to.have.property('invalidValue'); // expect(instance.invalidValue).to.be(expectedValueLiteral); }); it('should have the property errorCode (base name: "error_code")', function() { // TODO: update the code to test the property errorCode expect(instance).to.have.property('errorCode'); // expect(instance.errorCode).to.be(expectedValueLiteral); }); it('should have the property propertyPath (base name: "property_path")', function() { // TODO: update the code to test the property propertyPath expect(instance).to.have.property('propertyPath'); // expect(instance.propertyPath).to.be(expectedValueLiteral); }); it('should have the property invalidValue (base name: "invalid_value")', function() { // TODO: update the code to test the property invalidValue expect(instance).to.have.property('invalidValue'); // expect(instance.invalidValue).to.be(expectedValueLiteral); }); it('should have the property instrumentKey (base name: "instrument_key")', function() { // TODO: update the code to test the property instrumentKey expect(instance).to.have.property('instrumentKey'); // expect(instance.instrumentKey).to.be(expectedValueLiteral); }); it('should have the property orderId (base name: "order_id")', function() { // TODO: update the code to test the property orderId expect(instance).to.have.property('orderId'); // expect(instance.orderId).to.be(expectedValueLiteral); }); }); }); }));