upstox-js-sdk
Version:
The official Node Js client for communicating with the Upstox API
64 lines (55 loc) • 2.14 kB
JavaScript
/*
* 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.66
*
* 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('GttTriggerOrderResponse', function() {
beforeEach(function() {
instance = new UpstoxClient.GttTriggerOrderResponse();
});
it('should create an instance of GttTriggerOrderResponse', function() {
// TODO: update the code to test GttTriggerOrderResponse
expect(instance).to.be.a(UpstoxClient.GttTriggerOrderResponse);
});
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);
});
it('should have the property data (base name: "data")', function() {
// TODO: update the code to test the property data
expect(instance).to.have.property('data');
// expect(instance.data).to.be(expectedValueLiteral);
});
it('should have the property metadata (base name: "metadata")', function() {
// TODO: update the code to test the property metadata
expect(instance).to.have.property('metadata');
// expect(instance.metadata).to.be(expectedValueLiteral);
});
});
});
}));