UNPKG

@hubspot/api-client

Version:

NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files

16 lines 879 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("../../../../codegen/crm/timeline/index"); const index_2 = require("../../../../index"); describe('api client', () => { it('is discoverable', () => { const client = new index_2.Client().crm.timeline; expect(Object.prototype.hasOwnProperty.call(client, 'eventsApi')).toBeTruthy(); expect(index_1.EventsApi.name).toBe(client.eventsApi.constructor.name); expect(Object.prototype.hasOwnProperty.call(client, 'templatesApi')).toBeTruthy(); expect(index_1.TemplatesApi.name).toBe(client.templatesApi.constructor.name); expect(Object.prototype.hasOwnProperty.call(client, 'tokensApi')).toBeTruthy(); expect(index_1.TokensApi.name).toBe(client.tokensApi.constructor.name); }); }); //# sourceMappingURL=timeline.spec.js.map