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