@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
16 lines • 867 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../../../../codegen/crm/properties/index");
const index_2 = require("../../../../index");
describe('api client', () => {
it('is discoverable', () => {
const client = new index_2.Client().crm.properties;
expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy();
expect(index_1.BatchApi.name).toBe(client.batchApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'coreApi')).toBeTruthy();
expect(index_1.CoreApi.name).toBe(client.coreApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'groupsApi')).toBeTruthy();
expect(index_1.GroupsApi.name).toBe(client.groupsApi.constructor.name);
});
});
//# sourceMappingURL=properties.spec.js.map