allure-js-commons
Version:
Allure JS Commons
44 lines • 966 B
JavaScript
import { Stage, Status } from "../model";
export const testResultContainer = (uuid) => {
return {
uuid,
children: [],
befores: [],
afters: [],
};
};
export const fixtureResult = () => {
return {
status: Status.BROKEN,
statusDetails: {},
stage: Stage.PENDING,
steps: [],
attachments: [],
parameters: [],
};
};
export const stepResult = () => {
return {
status: undefined,
statusDetails: {},
stage: Stage.PENDING,
steps: [],
attachments: [],
parameters: [],
};
};
export const testResult = (uuid, historyUuid) => {
return {
uuid,
historyId: historyUuid,
status: undefined,
statusDetails: {},
stage: Stage.PENDING,
steps: [],
attachments: [],
parameters: [],
labels: [],
links: [],
};
};
//# sourceMappingURL=AllureResults.js.map