@wdio/spec-reporter
Advanced tools
Comparing version 5.1.0 to 5.2.2
@@ -8,4 +8,2 @@ "use strict"; | ||
require("source-map-support/register"); | ||
var _reporter = _interopRequireDefault(require("@wdio/reporter")); | ||
@@ -351,3 +349,2 @@ | ||
var _default = SpecReporter; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJTcGVjUmVwb3J0ZXIiLCJXRElPUmVwb3J0ZXIiLCJjb25zdHJ1Y3RvciIsIm9wdGlvbnMiLCJPYmplY3QiLCJhc3NpZ24iLCJzdGRvdXQiLCJzdWl0ZVVpZHMiLCJzdWl0ZXMiLCJpbmRlbnRzIiwic3VpdGVJbmRlbnRzIiwiZGVmYXVsdFRlc3RJbmRlbnQiLCJzdGF0ZUNvdW50cyIsInBhc3NlZCIsImZhaWxlZCIsInNraXBwZWQiLCJjaGFsayIsIm9uU3VpdGVTdGFydCIsInN1aXRlIiwicHVzaCIsInVpZCIsIm9uU3VpdGVFbmQiLCJvbkhvb2tFbmQiLCJob29rIiwiZXJyb3IiLCJvblRlc3RQYXNzIiwib25UZXN0RmFpbCIsIm9uVGVzdFNraXAiLCJvblJ1bm5lckVuZCIsInJ1bm5lciIsInByaW50UmVwb3J0IiwiZHVyYXRpb24iLCJfZHVyYXRpb24iLCJwcmVmYWNlIiwiZ2V0RW52aXJvbWVudENvbWJvIiwiY2FwYWJpbGl0aWVzIiwiaXNNdWx0aXJlbW90ZSIsInRyaW0iLCJjaWQiLCJkaXZpZGVyIiwicmVzdWx0cyIsImdldFJlc3VsdERpc3BsYXkiLCJsZW5ndGgiLCJvdXRwdXQiLCJnZXRIZWFkZXJEaXNwbGF5IiwiZ2V0Q291bnREaXNwbGF5IiwiZ2V0RmFpbHVyZURpc3BsYXkiLCJwcmVmYWNlZE91dHB1dCIsIm1hcCIsInZhbHVlIiwid3JpdGUiL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IEByZXR1cm4ge0FycmF5fSAgICAgICAgIEhlYWRlciBkYXRhXG4gICAgICovXG4gICAgZ2V0SGVhZGVyRGlzcGxheShydW5uZXIpIHtcbiAgICAgICAgY29uc3QgY29tYm8gPSB0aGlzLmdldEVudmlyb21lbnRDb21ibyhydW5uZXIuY2FwYWJpbGl0aWVzKS50cmltKClcblxuICAgICAgICAvLyBTcGVjIGZpbGUgbmFtZSBhbmQgZW52aXJvbWVudCBpbmZvcm1hdGlvblxuICAgICAgICBjb25zdCBvdXRwdXQgPSBbXG4gICAgICAgICAgICBgU3BlYzogJHtydW5uZXIuc3BlY3NbMF19YCxcbiAgICAgICAgICAgIGBSdW5uaW5nOiAke2NvbWJvfWAsXG4gICAgICAgICAgICAnJyxcbiAgICAgICAgXVxuXG4gICAgICAgIHJldHVybiBvdXRwdXRcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiByZXR1cm5zIGV2ZXJ5dGhpbmcgd29ydGggcmVwb3J0aW5nIGZyb20gYSBzdWl0ZVxuICAgICAqIEBwYXJhbSAge09iamVjdH0gICAgc3VpdGUgIHRlc3Qgc3VpdGUgY29udGFpbmluZyB0ZXN0cyBhbmQgaG9va3NcbiAgICAgKiBAcmV0dXJuIHtPYmplY3RbXX0gICAgICAgICBsaXN0IG9mIGV2ZW50cyB0byByZXBvcnRcbiAgICAgKi9cbiAgICBnZXRFdmVudHNUb1JlcG9ydCAoc3VpdGUpIHtcbiAgICAgICAgcmV0dXJuIFtcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogcmVwb3J0IGFsbCB0ZXN0c1xuICAgICAgICAgICAgICovXG4gICAgICAgICAgICAuLi5zdWl0ZS50ZXN0cyxcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogYW5kIG9ubHkgaG9va3MgdGhhdCBmYWlsZWRcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgLi4uc3VpdGUuaG9va3NcbiAgICAgICAgICAgICAgICAuZmlsdGVyKChob29r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ICogR2V0IGRpc3BsYXkgZm9yIGZhaWxlZCB0ZXN0cywgZS5nLiBzdGFjayB0cmFjZVxuICAgICAqIEByZXR1cm4ge0FycmF5fSBTdGFjayB0cmFjZSBvdXRwdXRcbiAgICAgKi9cbiAgICBnZXRGYWlsdXJlRGlzcGxheSAoKSB7XG4gICAgICAgIGxldCBmYWlsdXJlTGVuZ3RoID0gMFxuICAgICAgICBjb25zdCBvdXRwdXQgPSBbXVxuICAgICAgICBjb25zdCBzdWl0ZXMgPSB0aGlzLmdldE9yZGVyZWRTdWl0ZXMoKVxuXG4gICAgICAgIGZvciAoY29uc3Qgc3VpdGUgb2Ygc3VpdGVzKSB7XG4gICAgICAgICAgICBjb25zdCBzdWl0ZVRpdGxlID0gc3VpdGUudGl0bGVcbiAgICAgICAgICAgIGNvbnN0IGV2ZW50c1RvUmVwb3J0ID0gdGhpcy5nZXRFdmVudHNUb1JlcG9ydChzdWl0ZSlcbiAgICAgICAgICAgIGZvciAoY29uc3QgdGVzdCBvZiBldmVudHNUb1JlcG9ydCkge1xuICAgICAgICAgICAgICAgIGlmKHRlc3Quc3RhdGUgIT09ICdmYWlsZWQnKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlXG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgY29uc3QgdGVzdFRpdGxlID0gdGVzdC50aXRsZVxuXG4gICAgICAgICAgICAgICAgLy8gSWYgd2UgZ2V0IGhlcmUgdGhlbiB0aGVyZSBpcyBhIGZhaWxlZCB0ZXN0XG4gICAgICAgICAgICAgICAgb3V0cHV0LnB1c2goXG4gICAgICAgICAgICAgICAgICAgICcnLFxuICAgICAgICAgICAgICAgICAgICBgJHsrK2ZhaWx1cmVMZW5ndGh9KSAke3N1aXRlVGl0bGV9ICR7dGVzdFRpdGxlfWAsXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY2hhbGsucmVkKHRlc3QuZXJyb3IubWVzc2FnZSksXG4gICAgICAgICAgICAgICAgICAgIC4uLnRlc3QuZXJyb3Iuc3RhY2suc3BsaXQoL1xcbi9nKS5tYXAodmFsdWUgPT4gdGhpcy5jaGFsay5ncmF5KHZhbHVlKSlcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gb3V0cHV0XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogR2V0IHN1aXRlcyBpbiB0aGUgb3JkZXIgdGhleSB3ZXJlIGNhbGxlZFxuICAgICAqIEByZXR1cm4ge0FycmF5fSBPcmRlcmVkIHN1aXRlc1xuICAgICAqL1xuICAgIGdldE9yZGVyZWRTdWl0ZXMgKCkge1xuICAgICAgICBpZiAodGhpcy5vcmRlcmVkU3VpdGVzKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5vcmRlcmVkU3VpdGVzXG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLm9yZGVyZWRTdWl0ZXMgPSBbXVxuICAgICAgICBmb3IgKGNvbnN0IHVpZCBvZiB0aGlzLnN1aXRlVWlkcykge1xuICAgICAgICAgICAgZm9yIChjb25zdCBzdWl0ZSBvZiB0aGlzLnN1aXRlcykge1xuICAgICAgICAgICAgICAgIGlmIChzdWl0ZS51aWQgIT09IHVpZCkge1xuICAgICAgICAgICAgICAgICAgICBjb250aW51ZVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHRoaXMub3JkZXJlZFN1aXRlcy5wdXNoKHN1aXRlKVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMub3JkZXJlZFN1aXRlc1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEluZGVudCBhIHN1aXRlIGJhc2VkIG9uIHdoZXJlIGhvdyBpdCdzIG5lc3RlZFxuICAgICAqIEBwYXJhbSAge1N0cmluZ30gdWlkIFVuaXF1ZSBzdWl0ZSBrZXlcbiAgICAgKiBAcmV0dXJuIHtTdHJpbmd9ICA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xuICAgIGdldENvbG9yIChzdGF0ZSkge1xuICAgICAgICAvLyBJbiBjYXNlIG9mIGFuIHVua25vd24gc3RhdGVcbiAgICAgICAgbGV0IGNvbG9yID0gbnVsbFxuXG4gICAgICAgIHN3aXRjaCAoc3RhdGUpIHtcbiAgICAgICAgY2FzZSAncGFzc2VkJzpcbiAgICAgICAgICAgIGNvbG9yID0gJ2dyZWVuJ1xuICAgICAgICAgICAgYnJlYWtcbiAgICAgICAgY2FzZSAncGVuZGluZyc6XG4gICAgICAgIGNhc2UgJ3NraXBwZWQnOlxuICAgICAgICAgICAgY29sb3IgPSAnY3lhbidcbiAgICAgICAgICAgIGJyZWFrXG4gICAgICAgIGNhc2UgJ2ZhaWxlZCc6XG4gICAgICAgICAgICBjb2xvciA9ICdyZWQnXG4gICAgICAgICAgICBicmVha1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGNvbG9yXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogR2V0IGluZm9ybWF0aW9uIGFib3V0IHRoZSBlbnZpcm9tZW50XG4gICAgICogQHBhcmFtICB7T2JqZWN0fSAgY2FwcyAgICBFbnZpcm9tZW50IGRldGFpbHNcbiAgICAgKiBAcGFyYW0gIHtCb29sZWFufSB2ZXJib3NlXG4gICAgICogQHJldHVybiB7U3RyaW5nfSAgICAgICAgICBFbnZpcm9tZW50IHN0cmluZ1xuICAgICAqL1xuICAgIGdldEVudmlyb21lbnRDb21ibyAoY2FwcywgdmVyYm9zZSA9IHRydWUsIGlzTXVsdGlyZW1vdGUgPSBmYWxzZSkge1xuICAgICAgICBjb25zdCBkZXZpY2UgPSBjYXBzLmRldmljZU5hbWVcbiAgICAgICAgY29uc3QgYnJvd3NlciA9IGlzTXVsdGlyZW1vdGUgPyAnTXVsdGlyZW1vdGVCcm93c2VyJyA6IChjYXBzLmJyb3dzZXJOYW1lIHx8IGNhcHMuYnJvd3NlcilcbiAgICAgICAgY29uc3QgdmVyc2lvbiA9IGNhcHMudmVyc2l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NwZWNSZXBvcnRlclxuIl19 | ||
exports.default = _default; |
{ | ||
"name": "@wdio/spec-reporter", | ||
"version": "5.1.0", | ||
"version": "5.2.2", | ||
"description": "A WebdriverIO plugin to report in spec style", | ||
@@ -33,3 +33,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/reporter": "^5.1.0", | ||
"@wdio/reporter": "^5.2.2", | ||
"chalk": "^2.3.2", | ||
@@ -44,3 +44,3 @@ "pretty-ms": "^3.1.0" | ||
}, | ||
"gitHead": "db1fd4728453075c5c549e755a3e5685ad85284e" | ||
"gitHead": "44ad3c87c0e6f60540bd16e0f3bdc9939c86b012" | ||
} |
10722
266
Updated@wdio/reporter@^5.2.2