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