@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
18 lines • 1.11 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const CallingDiscovery_1 = __importDefault(require("../../../../src/discovery/crm/extensions/calling/CallingDiscovery"));
const CardsDiscovery_1 = __importDefault(require("../../../../src/discovery/crm/extensions/cards/CardsDiscovery"));
const index_1 = require("../../../../index");
const VideoconferencingDiscovery_1 = __importDefault(require("../../../../src/discovery/crm/extensions/videoconferencing/VideoconferencingDiscovery"));
describe('api client', () => {
it('is discoverable', () => {
const client = new index_1.Client().crm.extensions;
expect(CallingDiscovery_1.default.name).toBe(client.calling.constructor.name);
expect(CardsDiscovery_1.default.name).toBe(client.cards.constructor.name);
expect(VideoconferencingDiscovery_1.default.name).toBe(client.videoconferencing.constructor.name);
});
});
//# sourceMappingURL=extensions.spec.js.map