@testauto/jest-allure
Version:
A Jest Allure Reporter, which takes the test-results from jest and creates an allure-report from it.
14 lines • 439 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const hjson = require("hjson");
class JestResults {
static onRunComplete(contexts, results) {
var testResults = this.getTestResults(results);
return testResults;
}
static getTestResults(results) {
return hjson.parse(hjson.stringify(results));
}
}
exports.JestResults = JestResults;
//# sourceMappingURL=jest_results.js.map