UNPKG

wip-webhook-helper

Version:

This utility helps with webhook notifications from Kentico Kontent

14 lines 616 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chai_1 = require("chai"); var workflowWebhookJson = require("./workflow-response.json"); describe('# Workflow response', function () { var response = workflowWebhookJson; it('Message should be mapped properly', function () { chai_1.expect(workflowWebhookJson.message).to.equal(response.message); }); it('Data should be mapped properly', function () { chai_1.expect(workflowWebhookJson.data.items).to.equal(response.data.items); }); }); //# sourceMappingURL=workflow-response.spec.js.map