@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
16 lines • 864 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../../../../codegen/cms/hubdb/index");
const index_2 = require("../../../../index");
describe('api client', () => {
it('is discoverable', () => {
const client = new index_2.Client().cms.hubdb;
expect(Object.prototype.hasOwnProperty.call(client, 'rowsApi')).toBeTruthy();
expect(index_1.RowsApi.name).toBe(client.rowsApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'rowsBatchApi')).toBeTruthy();
expect(index_1.RowsBatchApi.name).toBe(client.rowsBatchApi.constructor.name);
expect(Object.prototype.hasOwnProperty.call(client, 'tablesApi')).toBeTruthy();
expect(index_1.TablesApi.name).toBe(client.tablesApi.constructor.name);
});
});
//# sourceMappingURL=hubdb.spec.js.map