@testauto/jest-allure
Version:
A Jest Allure Reporter, which takes the test-results from jest and creates an allure-report from it.
17 lines • 617 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class Testcase {
constructor(testcase, jsonResults) {
this.startTime = jsonResults.startTime;
this.stopTime = (parseInt(jsonResults.startTime) + parseInt(testcase.duration)).toString();
this.status = testcase.status;
this.fullName = testcase.fullName;
this.title = testcase.title;
this.failureMessages = "";
testcase.failureMessages.forEach((fMsg) => {
this.failureMessages += fMsg;
});
}
}
exports.Testcase = Testcase;
//# sourceMappingURL=testcase.js.map