UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

37 lines 1.53 kB
"use strict"; exports.__esModule = true; var setup_1 = require("../../setup"); describe('Response debug', function () { var context = new setup_1.Context(); setup_1.setup(context); var all; beforeAll(function (done) { setup_1.observableFactory.getAllTestObjects(context.deliveryClient) .subscribe(function (reponse) { all = reponse; done(); }); }); it("(item) Debug property should be defined and should contain data", function () { expect(all.item.debug).toBeDefined(); }); it("(items) Debug property should be defined and should contain data", function () { expect(all.items.debug).toBeDefined(); }); it("(taxonomy) Debug property should be defined and should contain data", function () { expect(all.taxonomy.debug).toBeDefined(); }); it("(taxonomies) Debug property should be defined and should contain data", function () { expect(all.taxonomies.debug).toBeDefined(); }); it("(type) Debug property should be defined and should contain data", function () { expect(all.type.debug).toBeDefined(); }); it("(types) Debug property should be defined and should contain data", function () { expect(all.types.debug).toBeDefined(); }); it("(element) Debug property should be defined and should contain data", function () { expect(all.element.debug).toBeDefined(); }); }); //# sourceMappingURL=response-debug.spec.js.map