UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

11 lines 480 B
import { DeliveryClient } from '../../../lib'; var expectedRetryAttempts = 3; describe('Default retry config', function () { it("Retry attempts should be enabled by default and set to '" + expectedRetryAttempts + "'", function () { var client = new DeliveryClient({ projectId: 'xxx' }); expect(client['queryService']['getRetryAttempts']()).toEqual(expectedRetryAttempts); }); }); //# sourceMappingURL=default-retry.spec.js.map