UNPKG

@hubspot/api-client

Version:

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

14 lines 749 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("../../../codegen/communication_preferences/index"); const index_2 = require("../../../index"); describe('api client', () => { it('is discoverable', () => { const client = new index_2.Client().communicationPreferences; expect(Object.prototype.hasOwnProperty.call(client, 'definitionApi')).toBeTruthy(); expect(index_1.DefinitionApi.name).toBe(client.definitionApi.constructor.name); expect(Object.prototype.hasOwnProperty.call(client, 'statusApi')).toBeTruthy(); expect(index_1.StatusApi.name).toBe(client.statusApi.constructor.name); }); }); //# sourceMappingURL=communicationPreferences.spec.js.map