@wdio/cli
Advanced tools
Comparing version 5.0.0-beta.8 to 5.0.0-beta.9
@@ -31,3 +31,3 @@ "use strict"; | ||
for (let serviceName of config.services) { | ||
let service; | ||
let launcher; | ||
/** | ||
@@ -50,3 +50,4 @@ * allow custom services | ||
try { | ||
service = (0, _config.initialisePlugin)(serviceName, 'service', '/launcher'); | ||
const Launcher = (0, _config.initialisePlugin)(serviceName, 'service', 'launcher'); | ||
launcher = new Launcher(); | ||
} catch (e) { | ||
@@ -58,7 +59,7 @@ if (!e.message.match(`Couldn't find plugin`)) { | ||
if (service && (typeof service.onPrepare === 'function' || typeof service.onComplete === 'function')) { | ||
if (launcher && (typeof launcher.onPrepare === 'function' || typeof launcher.onComplete === 'function')) { | ||
const { | ||
onPrepare, | ||
onComplete | ||
} = service; | ||
} = launcher; | ||
launchServices.push({ | ||
@@ -97,2 +98,2 @@ onPrepare, | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJsb2ciLCJnZXRMYXVuY2hlciIsImNvbmZpZyIsImxhdW5jaFNlcnZpY2VzIiwiQXJyYXkiLCJpc0FycmF5Iiwic2VydmljZXMiLCJzZXJ2aWNlTmFtZSIsInNlcnZpY2UiLCJvblByZXBhcmUiLCJvbkNvbXBsZXRlIiwicHVzaCIsImUiLCJtZXNzYWdlIiwibWF0Y2giLCJFcnJvciIsInN0YWNrIiwicnVuU2VydmljZUhvb2siLCJsYXVuY2hlciIsImhvb2tOYW1lIiwiYXJncyIsIlByb21pc2UiLCJhbGwiLCJtYXAiLCJlcnJvciIsImZpbHRlclBhY2thZ2VOYW1lIiwidHlwZSIsInBrZ0xhYmVscyIsInBrZ0xhYmVsIiwidHJpbSIsImluY2x1ZGVzIiwic3BsaXQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7QUFFQSxNQUFNQ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XG4gICAgICAgICAgICAgICAgcmV0dXJuIHNlcnZpY2VbaG9va05hbWVdKC4uLmFyZ3MpXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pKVxuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgbG9nLmVycm9yKGBBIHNlcnZpY2UgZmFpbGVkIGluIHRoZSAnJHtob29rTmFtZX0nIGhvb2tcXG4ke2Uuc3RhY2t9XFxuXFxuQ29udGludWUuLi5gKVxuICAgIH1cbn1cblxuLyoqXG4gKiBtYXAgcGFja2FnZSBuYW1lc1xuICovXG5leHBvcnQgZnVuY3Rpb24gZmlsdGVyUGFja2FnZU5hbWUgKHR5cGUpIHtcbiAgICByZXR1cm4gKHBrZ0xhYmVscykgPT4gcGtnTGFiZWxzLm1hcChcbiAgICAgICAgKHBrZ0xhYmVsKSA9PiBwa2dMYWJlbC50cmltKCkuaW5jbHVkZXMoJ0B3ZGlvJylcbiAgICAgICAgICAgID8gYEB3ZGlvLyR7cGtnTGFiZWwuc3BsaXQoLy0gLylbMF0udHJpbSgpfS0ke3R5cGV9YFxuICAgICAgICAgICAgOiBgd2Rpby0ke3BrZ0xhYmVsLnNwbGl0KC8tIC8pWzBdLnRyaW0oKX0tJHt0eXBlfWApXG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJsb2ciLCJnZXRMYXVuY2hlciIsImNvbmZpZyIsImxhdW5jaFNlcnZpY2VzIiwiQXJyYXkiLCJpc0FycmF5Iiwic2VydmljZXMiLCJzZXJ2aWNlTmFtZSIsImxhdW5jaGVyIiwib25QcmVwYXJlIiwib25Db21wbGV0ZSIsInB1c2giLCJMYXVuY2hlciIsImUiLCJtZXNzYWdlIiwibWF0Y2giLCJFcnJvciIsInN0YWNrIiwicnVuU2VydmljZUhvb2siLCJob29rTmFtZSIsImFyZ3MiLCJQcm9taXNl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0dXJuIGxhdW5jaFNlcnZpY2VzXG59XG5cbi8qKlxuICogcnVuIHNlcnZpY2UgbGF1bmNoIHNlcXVlbmNlc1xuICovXG5leHBvcnQgYXN5bmMgZnVuY3Rpb24gcnVuU2VydmljZUhvb2sgKGxhdW5jaGVyLCBob29rTmFtZSwgLi4uYXJncykge1xuICAgIHRyeSB7XG4gICAgICAgIHJldHVybiBhd2FpdCBQcm9taXNlLmFsbChsYXVuY2hlci5tYXAoKHNlcnZpY2UpID0+IHtcbiAgICAgICAgICAgIGlmICh0eXBlb2Ygc2VydmljZVtob29rTmFtZV0gPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gc2VydmljZVtob29rTmFtZV0oLi4uYXJncylcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSkpXG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgICBsb2cuZXJyb3IoYEEgc2VydmljZSBmYWlsZWQgaW4gdGhlICcke2hvb2tOYW1lfScgaG9va1xcbiR7ZS5zdGFja31cXG5cXG5Db250aW51ZS4uLmApXG4gICAgfVxufVxuXG4vKipcbiAqIG1hcCBwYWNrYWdlIG5hbWVzXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBmaWx0ZXJQYWNrYWdlTmFtZSAodHlwZSkge1xuICAgIHJldHVybiAocGtnTGFiZWxzKSA9PiBwa2dMYWJlbHMubWFwKFxuICAgICAgICAocGtnTGFiZWwpID0+IHBrZ0xhYmVsLnRyaW0oKS5pbmNsdWRlcygnQHdkaW8nKVxuICAgICAgICAgICAgPyBgQHdkaW8vJHtwa2dMYWJlbC5zcGxpdCgvLSAvKVswXS50cmltKCl9LSR7dHlwZX1gXG4gICAgICAgICAgICA6IGB3ZGlvLSR7cGtnTGFiZWwuc3BsaXQoLy0gLylbMF0udHJpbSgpfS0ke3R5cGV9YClcbn1cbiJdfQ== |
{ | ||
"name": "@wdio/cli", | ||
"version": "5.0.0-beta.8", | ||
"version": "5.0.0-beta.9", | ||
"description": "WebdriverIO testrunner command line interface", | ||
@@ -38,5 +38,5 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/config": "^5.0.0-beta.8", | ||
"@wdio/interface": "^5.0.0-beta.8", | ||
"@wdio/logger": "^5.0.0-beta.8", | ||
"@wdio/config": "^5.0.0-beta.9", | ||
"@wdio/interface": "^5.0.0-beta.9", | ||
"@wdio/logger": "^5.0.0-beta.9", | ||
"async-exit-hook": "^2.0.1", | ||
@@ -54,3 +54,3 @@ "chalk": "^2.3.2", | ||
"source-map-support": "^0.5.6", | ||
"webdriverio": "^5.0.0-beta.8", | ||
"webdriverio": "^5.0.0-beta.9", | ||
"yargs": "^11.1.0" | ||
@@ -61,3 +61,3 @@ }, | ||
}, | ||
"gitHead": "d7158f71004b7e76f376a64ec3553848104b4627" | ||
"gitHead": "7c5bd34bc324a3efb3bf5f037e0191287b38a70e" | ||
} |
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
184756
1184
Updated@wdio/config@^5.0.0-beta.9
Updated@wdio/logger@^5.0.0-beta.9
Updatedwebdriverio@^5.0.0-beta.9