@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
17 lines • 836 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../../../index");
const index_2 = require("../../../codegen/events/index");
const SendDiscovery_1 = __importDefault(require("../../../src/discovery/events/send/SendDiscovery"));
describe('api client', () => {
it('is discoverable', () => {
const client = new index_1.Client().events;
expect(Object.prototype.hasOwnProperty.call(client, 'eventsApi')).toBeTruthy();
expect(index_2.EventsApi.name).toBe(client.eventsApi.constructor.name);
expect(SendDiscovery_1.default.name).toBe(client.send.constructor.name);
});
});
//# sourceMappingURL=events.spec.js.map