UNPKG

upstox-js-sdk

Version:

The official Node Js client for communicating with the Upstox API

58 lines (50 loc) 1.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.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('IndieUserInitTokenData', function() { beforeEach(function() { instance = new UpstoxClient.IndieUserInitTokenData(); }); it('should create an instance of IndieUserInitTokenData', function() { // TODO: update the code to test IndieUserInitTokenData expect(instance).to.be.a(UpstoxClient.IndieUserInitTokenData); }); it('should have the property authorizationExpiry (base name: "authorization_expiry")', function() { // TODO: update the code to test the property authorizationExpiry expect(instance).to.have.property('authorizationExpiry'); // expect(instance.authorizationExpiry).to.be(expectedValueLiteral); }); it('should have the property notifierUrl (base name: "notifier_url")', function() { // TODO: update the code to test the property notifierUrl expect(instance).to.have.property('notifierUrl'); // expect(instance.notifierUrl).to.be(expectedValueLiteral); }); }); }); }));