UNPKG

jest-allure2-reporter

Version:
19 lines 769 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toTestStep = toTestStep; const normalizeAttachments_1 = require("./normalizeAttachments"); const normalizeParameters_1 = require("./normalizeParameters"); function toTestStep(rootDirectory, step) { return { name: step.displayName, start: step.start, stop: step.stop, stage: step.stage, status: step.status, statusDetails: step.statusDetails, steps: step.steps?.map((inner) => toTestStep(rootDirectory, inner)), attachments: (0, normalizeAttachments_1.normalizeAttachments)(rootDirectory, step), parameters: (0, normalizeParameters_1.normalizeParameters)(step), }; } //# sourceMappingURL=toTestStep.js.map