UNPKG

@hubspot/api-client

Version:

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

14 lines 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("../../../codegen/webhooks/index"); const index_2 = require("../../../index"); describe('api client', () => { it('is discoverable', () => { const client = new index_2.Client().webhooks; expect(Object.prototype.hasOwnProperty.call(client, 'settingsApi')).toBeTruthy(); expect(index_1.SettingsApi.name).toBe(client.settingsApi.constructor.name); expect(Object.prototype.hasOwnProperty.call(client, 'subscriptionsApi')).toBeTruthy(); expect(index_1.SubscriptionsApi.name).toBe(client.subscriptionsApi.constructor.name); }); }); //# sourceMappingURL=webhooks.spec.js.map