wdio-junit-reporter
Advanced tools
Comparing version 5.0.0-alpha.12 to 5.0.0-alpha.13
@@ -196,3 +196,2 @@ 'use strict'; | ||
exports.default = JunitReporter; | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJKdW5pdFJlcG9ydGVyIiwiY29uc3RydWN0b3IiLCJvcHRpb25zIiwic3VpdGVOYW1lUmVnRXgiLCJzdWl0ZU5hbWVGb3JtYXQiLCJSZWdFeHAiLCJvblJ1bm5lckVuZCIsInJ1bm5lciIsInhtbCIsInByZXBhcmVYbWwiLCJ3cml0ZSIsInByZXBhcmVOYW1lIiwibmFtZSIsInNwbGl0IiwiZmlsdGVyIiwiaXRlbSIsImxlbmd0aCIsImpvaW4iLCJidWlsZGVyIiwibmV3QnVpbGRlciIsInBhY2thZ2VOYW1lIiwic2FuaXRpemVkQ2FwYWJpbGl0aWVzIiwiT2JqZWN0Iiwia2V5cyIsInNwZWNzIiwic3BlY0lkIiwic3VpdGVzIiwic3VpdGVLZXkiLCJtYXRjaCIsInN1aXRlIiwic3VpdGVOYW1lIiwidGl0bGUiLCJ0ZXN0U3VpdGUiLCJ0aW1lc3RhbXAiLCJzdGFydCIsInRpbWUiLCJfZHVyYXRpb24iLCJwcm9wZXJ0eSIsInJlcGxhY2UiLCJwcm9jZXNzIiwiY3dkIiwidGVzdHMiLCJ0ZXN0S2V5IiwidGVzdCIsInRlc3ROYW1lIiwidGVzdENhc2UiLCJjbGFzc05hbWUiLCJzdGF0ZSIsInNraXBwZWQiLCJlcnJvciIsImVycm9yT3B0aW9ucyIsImtleSIsIm1lc3NhZ2UiLCJzdGFuZGFyZEVycm9yIiwic3RhY2siLCJvdXRwdXQiLCJnZXRTdGFuZGFyZE91dHB1dCIsInN0YW5kYXJkT3V0cHV0IiwiYnVpbGQiLCJmb3JFYWNoIiwiZGF0YSI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zcGxpdCh0aGlzLnN1aXRlTmFtZVJlZ0V4KS5maWx0ZXIoXG4gICAgICAgICAgICAoaXRlbSkgPT4gaXRlbSAmJiBpdGVtLmxlbmd0aFxuICAgICAgICApLmpvaW4oJ18nKVxuICAgIH1cblxuICAgIHByZXBhcmVYbWwgKHJ1bm5lcikge1xuICAgICAgICBjb25zdCBidWlsZGVyID0ganVuaXQubmV3QnVpbGRlcigpXG5cbiAgICAgICAgY29uc3QgcGFja2FnZU5hbWUgPSB0aGlzLm9wdGlvbnMucGFja2FnZU5hbWVcbiAgICAgICAgICAgID8gYCR7cnVubmVyLnNhbml0aXplZENhcGFiaWxpdGllc30tJHt0aGlzLm9wdGlvbnMucGFja2FnZU5hbWV9YFxuICAgICAgICAgICAgOiBydW5uZXIuc2FuaXRpemVkQ2FwYWJpbGl0aWVzXG5cbiAgICAgICAgZm9yIChsZXQgc3BlY0lkIG9mIE9iamVjdC5rZXlzKHJ1bm5lci5zcGVjcykpIHtcbiAgICAgICAgICAgIGZvciAobGV0IHN1aXRlS2V5IG9mIE9iamVjdC5rZXlzKHRoaXMuc3VpdGVzKSkge1xuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIGlnbm9yZSByb290IGJlZm9yZSBhbGxcbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgaWYgICovXG4gICAgICAgICAgICAgICAgaWYgKHN1aXRlS2V5Lm1hdGNoKC9eXCJiZWZvcmUgYWxsXCIvKSkge1xuICAgICAgICAgICAgICAgICAgICBjb250aW51ZVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IHN1aXRlID0gdGhpcy5zdWl0ZXNbc3VpdGVLZXldXG4gICAgICAgICAgICAgICAgY29uc3Qgc3VpdGVOYW1lID0gdGhpcy5wcmVwYXJlTmFtZShzdWl0ZS50aXRsZSlcbiAgICAgICAgICAgICAgICBjb25zdCB0ZXN0U3VpdGUgPSBidWlsZGVyLnRlc3RTdWl0ZSgpXG4gICAgICAgICAgICAgICAgICAgIC5uYW1lKHN1aXRlTmFtZSlcbiAgICAgICAgICAgICAgICAgICAgLnRpbWVzdGFtcChzdWl0ZS5zdGFydClcbiAgICAgICAgICAgICAgICAgICAgLnRpbWUoc3VpdGUuX2R1cmF0aW9uIC8gMTAwMClcbiAgICAgICAgICAgICAgICAgICAgLnByb3BlcnR5KCdzcGVjSWQnLCBzcGVjSWQpXG4gICAgICAgICAgICAgICAgICAgIC5wcm9wZXJ0eSgnc3VpdGVOYW1lJywgc3VpdGUudGl0bGUpXG4gICAgICAgICAgICAgICAgICAgIC5wcm9wZXJ0eSgnY2FwYWJpbGl0aWVzJywgcnVubmVyLnNhbml0aXplZENhcGFiaWxpdGllcylcbiAgICAgICAgICAgICAgICAgICAgLnByb3BlcnR5KCdmaWxlJywgcnVubmVyLnNwZWNzWzBdLnJlcGxhY2UocHJvY2Vzcy5jd2QoKSwgJy4nKSlcblxuICAgICAgICAgICAgICAgIGZvciAobGV0IHRlc3RLZXkgb2YgT2JqZWN0LmtleXMoc3VpdGUudGVzdHMpKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0ZXN0S2V5ICE9PSAndW5kZWZpbmVkJykgeyAvLyBmaXggY3VjdW1iZXIgaG9va3MgY3Jhc2hpbmcgcmVwb3J0ZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRlc3QgPSBzdWl0ZS50ZXN0c1t0ZXN0S2V5XVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdGVzdE5hbWUgPSB0aGlzLnByZXBhcmVOYW1lKHRlc3QudGl0bGUpXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB0ZXN0Q2FzZSA9IHRlc3RTdWl0ZS50ZXN0Q2FzZSgpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNsYXNzTmFtZShgJHtwYWNrYWdlTmFtZX0uJHtzdWl0ZU5hbWV9YClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAubmFtZSh0ZXN0TmFtZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAudGltZSh0ZXN0Ll9kdXJhdGlvbiAvIDEwMDApXG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0ZXN0LnN0YXRlID09PSAncGVuZGluZycgfHwgdGVzdC5zdGF0ZSA9PT0gJ3NraXBwZWQnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVzdENhc2Uuc2tpcHBlZCgpXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0ZXN0LmVycm9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgZXJyb3JPcHRpb25zID0gdGhpcy5vcHRpb25zLmVycm9yT3B0aW9uc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlcnJvck9wdGlvbnMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChjb25zdCBrZXkgb2YgT2JqZWN0LmtleXMoZXJyb3JPcHRpb25zKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVzdENhc2Vba2V5XSh0ZXN0LmVycm9yW2Vycm9yT3B0aW9uc1trZXldXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGRlZmF1bHRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVzdENhc2UuZXJyb3IodGVzdC5lcnJvci5tZXNzYWdlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZXN0Q2FzZS5zdGFuZGFyZEVycm9yKGBcXG4ke3Rlc3QuZXJyb3Iuc3RhY2t9XFxuYClcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgb3V0cHV0ID0gdGhpcy5nZXRTdGFuZGFyZE91dHB1dCh0ZXN0KVxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG91dHB1dCkgdGVzdENhc2Uuc3RhbmRhcmRPdXRwdXQoYFxcbiR7b3V0cHV0fVxcbmApXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGJ1aWxkZXIuYnVpbGQoKVxuICAgIH1cblxuICAgIGdldFN0YW5kYXJkT3V0cHV0ICh0ZXN0KSB7XG4gICAgICAgIGxldCBzdGFuZGFyZE91dHB1dCA9IFtdXG4gICAgICAgIHRlc3Qub3V0cHV0LmZvckVhY2goKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHN3aXRjaCAoZGF0YS50eXBlKSB7XG4gICAgICAgICAgICBjYXNlICdjb21tYW5kJzpcbiAgICAgICAgICAgICAgICBzdGFuZGFyZE91dHB1dC5wdXNoKFxuICAgICAgICAgICAgICAgICAgICBgQ09NTUFORDogJHtkYXRhLm1ldGhvZC50b1VwcGVyQ2FzZSgpfSBgICtcbiAgICAgICAgICAgICAgICAgICAgYCR7ZGF0YS5lbmRwb2ludC5yZXBsYWNlKCc6c2Vzc2lvbklkJywgZGF0YS5zZXNzaW9uSWQpfSAtICR7dGhpcy5mb3JtYXQoZGF0YS5ib2R5KX1gXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIGJyZWFrXG4gICAgICAgICAgICBjYXNlICdyZXN1bHQnOlxuICAgICAgICAgICAgICAgIHN0YW5kYXJkT3V0cHV0LnB1c2goYFJFU1VMVDogJHt0aGlzLmZvcm1hdChkYXRhLmJvZHkpfWApXG4gICAgICAgICAgICAgICAgYnJlYWtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgICAgcmV0dXJuIHN0YW5kYXJkT3V0cHV0Lmxlbmd0aCA/IHN0YW5kYXJkT3V0cHV0LmpvaW4oJ1xcbicpIDogJydcbiAgICB9XG5cbiAgICBmb3JtYXQgKHZhbCkge1xuICAgICAgICByZXR1cm4gSlNPTi5zdHJpbmdpZnkobGltaXQodmFsKSlcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IEp1bml0UmVwb3J0ZXJcbiJdfQ== | ||
module.exports = exports['default']; |
@@ -69,3 +69,2 @@ 'use strict'; | ||
return val; | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJPQkpMRU5HVEgiLCJBUlJMRU5HVEgiLCJTVFJJTkdMSU1JVCIsIlNUUklOR1RSVU5DQVRFIiwibGltaXQiLCJyYXdWYWwiLCJ2YWwiLCJKU09OIiwicGFyc2UiLCJ0eXBlIiwiT2JqZWN0IiwicHJvdG90eXBlIiwidG9TdHJpbmciLCJjYWxsIiwibGVuZ3RoIiwiaXNCYXNlNjQiLCJzdWJzdHIiLCJzbGljZSIsInB1c2giLCJtYXAiLCJrZXlzIiwicmVtb3ZlZCIsImkiLCJsIiwiXyIsInN0cmluZ2lmeSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7Ozs7QUFDQTs7Ozs7Ozs7O0FBRUEsTUFBTUEsWUFBWSxFQUFsQjtBQUNBLE1BQU1DLFlBQVksRUFBbEI7QUFDQSxNQUFNQyxjQUFjLElBQXBCO0FBQ0EsTUFBTUMsaUJBQWlCLEdBQXZCOztBQUVPLE1BQU1DLHdCQUFRLFNBQVJBLEtBQVEsQ0FBVUMsTUFBVixFQUFrQjtBQUNuQyxRQUFJLENBQUNBLE1BQUwsRUFBYSxPQUFPQSxNQUFQOztBQUViO0FBQ0EsUUFBSUMsTUFBTUMsS0FBS0Ms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ICAgICAgaWYgKGkgPCBPQkpMRU5HVEgpIHtcbiAgICAgICAgICAgICAgICB2YWxba2V5c1tpXV0gPSBsaW1pdCh2YWxba2V5c1tpXV0pXG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGRlbGV0ZSB2YWxba2V5c1tpXV1cbiAgICAgICAgICAgICAgICByZW1vdmVkLnB1c2goa2V5c1tpXSlcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocmVtb3ZlZC5sZW5ndGgpIHtcbiAgICAgICAgICAgIHZhbC5fID0gKGtleXMubGVuZ3RoIC0gT0JKTEVOR1RIKSArICcgbW9yZSBrZXlzOiAnICsgSlNPTi5zdHJpbmdpZnkocmVtb3ZlZClcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdmFsXG4gICAgfVxuICAgIHJldHVybiB2YWxcbn1cbiJdfQ== | ||
}; |
{ | ||
"name": "wdio-junit-reporter", | ||
"version": "5.0.0-alpha.12", | ||
"version": "5.0.0-alpha.13", | ||
"description": "A WebdriverIO reporter that creates Jenkins compatible XML based JUnit reports", | ||
@@ -5,0 +5,0 @@ "author": "Christian Bromann <christian@saucelabs.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16342
217