UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

13 lines 519 B
"use strict"; exports.__esModule = true; var lib_1 = require("../../../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 lib_1.DeliveryClient({ projectId: 'xxx' }); expect(client['queryService']['getRetryAttempts']()).toEqual(expectedRetryAttempts); }); }); //# sourceMappingURL=default-retry.spec.js.map