@wdio/sync
Advanced tools
Comparing version 5.0.0-beta.15 to 5.0.0-beta.16
@@ -68,3 +68,3 @@ "use strict"; | ||
if (e.message.includes(`Can't wait without a fiber`)) { | ||
if (e.message.includes('Can\'t wait without a fiber')) { | ||
return result; | ||
@@ -77,2 +77,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy93cmFwQ29tbWFuZC5qcyJdLCJuYW1lcyI6WyJ3cmFwQ29tbWFuZCIsImNvbW1hbmROYW1lIiwiZm4iLCJydW5Db21tYW5kIiwiYXJncyIsIm9wdGlvbnMiLCJiZWZvcmVDb21tYW5kIiwiY29tbWFuZFJlc3VsdCIsImNvbW1hbmRFcnJvciIsImFwcGx5IiwiZSIsImFmdGVyQ29tbWFuZCIsImZ1dHVyZSIsIkZ1dHVyZSIsInJlc3VsdCIsInRoZW4iLCJyZXR1cm4iLCJ0aHJvdyIsIndhaXQiLCJFcnJvciIsIm1lc3NhZ2UiLCJpbmNsdWRlcyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBRUE7Ozs7QUFFQTs7Ozs7Ozs7QUFRZSxTQUFTQSxXQUFULENBQXNCQyxXQUF0QixFQUFtQ0MsRUFBbkMsRUFBdUM7QUFDbEQ7OztBQUdBLFFBQU1DLFVBQVUsR0FBRyxnQkFBZ0IsR0FBR0MsSUFBbkIsRUFBeUI7QUFDeEMsVUFBTSxtQ0FDRixLQUFLQyxPQUFMLENBQWFDLGFBRFgsRUFFRixDQUFDTCxXQUFELEVBQWNHLElBQWQsQ0FGRSxDQUFOO0FBS0EsUUFBSUcsYUFBSjtBQUNBLFFBQUlDLFlBQUo7O0FBQ0EsUUFBSTtBQUNBRCxNQUFBQSxhQUFhLEdBQUcsTUFBTUwsRUFBRSxDQUFDTyxLQUFILENBQVMsSUFBVCxFQUFlTCxJQUFmLENBQXRCO0FBQ0gsS0FGRCxDQU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zLmJlZm9yZUNvbW1hbmQsXG4gICAgICAgICAgICBbY29tbWFuZE5hbWUsIGFyZ3NdXG4gICAgICAgIClcblxuICAgICAgICBsZXQgY29tbWFuZFJlc3VsdFxuICAgICAgICBsZXQgY29tbWFuZEVycm9yXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBjb21tYW5kUmVzdWx0ID0gYXdhaXQgZm4uYXBwbHkodGhpcywgYXJncylcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgY29tbWFuZEVycm9yID0gZVxuICAgICAgICB9XG5cbiAgICAgICAgYXdhaXQgZXhlY3V0ZUhvb2tzV2l0aEFyZ3MoXG4gICAgICAgICAgICB0aGlzLm9wdGlvbnMuYWZ0ZXJDb21tYW5kLFxuICAgICAgICAgICAgW2NvbW1hbmROYW1lLCBhcmdzLCBjb21tYW5kUmVzdWx0LCBjb21tYW5kRXJyb3JdXG4gICAgICAgIClcblxuICAgICAgICBpZiAoY29tbWFuZEVycm9yKSB7XG4gICAgICAgICAgICB0aHJvdyBjb21tYW5kRXJyb3JcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBjb21tYW5kUmVzdWx0XG4gICAgfVxuXG4gICAgcmV0dXJuIGZ1bmN0aW9uICguLi5hcmdzKSB7XG4gICAgICAgIGNvbnN0IGZ1dHVyZSA9IG5ldyBGdXR1cmUoKVxuXG4gICAgICAgIGNvbnN0IHJlc3VsdCA9IHJ1bkNvbW1hbmQuYXBwbHkodGhpcywgYXJncylcbiAgICAgICAgcmVzdWx0LnRoZW4oOjpmdXR1cmUucmV0dXJuLCA6OmZ1dHVyZS50aHJvdylcblxuICAgICAgICB0cnkge1xuICAgICAgICAgICAgcmV0dXJuIGZ1dHVyZS53YWl0KClcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBpbiBjYXNlIHNvbWUgM3JkIHBhcnR5IGxpYiByZWplY3RzIHdpdGhvdXQgYnVuZGxpbmcgaW50byBhbiBlcnJvclxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBpZiAodHlwZW9mIGUgPT09ICdzdHJpbmcnKSB7XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGUpXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogaW4gY2FzZSB3ZSBydW4gY29tbWFuZHMgd2hlcmUgbm8gZmliZXIgZnVuY3Rpb24gd2FzIHVzZWRcbiAgICAgICAgICAgICAqIGUuZy4gd2hlbiB3ZSBjYWxsIGRlbGV0ZVNlc3Npb25cbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKGUubWVzc2FnZS5pbmNsdWRlcyhgQ2FuJ3Qgd2FpdCB3aXRob3V0IGEgZmliZXJgKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiByZXN1bHRcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGhyb3cgZVxuICAgICAgICB9XG4gICAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy93cmFwQ29tbWFuZC5qcyJdLCJuYW1lcyI6WyJ3cmFwQ29tbWFuZCIsImNvbW1hbmROYW1lIiwiZm4iLCJydW5Db21tYW5kIiwiYXJncyIsIm9wdGlvbnMiLCJiZWZvcmVDb21tYW5kIiwiY29tbWFuZFJlc3VsdCIsImNvbW1hbmRFcnJvciIsImFwcGx5IiwiZSIsImFmdGVyQ29tbWFuZCIsImZ1dHVyZSIsIkZ1dHVyZSIsInJlc3VsdCIsInRoZW4iLCJyZXR1cm4iLCJ0aHJvdyIsIndhaXQiLCJFcnJvciIsIm1lc3NhZ2UiLCJpbmNsdWRlcyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBRUE7Ozs7QUFFQTs7Ozs7Ozs7QUFRZSxTQUFTQSxXQUFULENBQXN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7RnVuY3Rpb259ICAgYWN0dWFsIHdyYXBwZWQgZnVuY3Rpb25cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gd3JhcENvbW1hbmQgKGNvbW1hbmROYW1lLCBmbikge1xuICAgIC8qKlxuICAgICAqIGhlbHBlciBtZXRob2QgdGhhdCBydW5zIHRoZSBjb21tYW5kIHdpdGggYmVmb3JlL2FmdGVyQ29tbWFuZCBob29rXG4gICAgICovXG4gICAgY29uc3QgcnVuQ29tbWFuZCA9IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG4gICAgICAgIGF3YWl0IGV4ZWN1dGVIb29rc1dpdGhBcmdzKFxuICAgICAgICAgICAgdGhpcy5vcHRpb25zLmJlZm9yZUNvbW1hbmQsXG4gICAgICAgICAgICBbY29tbWFuZE5hbWUsIGFyZ3NdXG4gICAgICAgIClcblxuICAgICAgICBsZXQgY29tbWFuZFJlc3VsdFxuICAgICAgICBsZXQgY29tbWFuZEVycm9yXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBjb21tYW5kUmVzdWx0ID0gYXdhaXQgZm4uYXBwbHkodGhpcywgYXJncylcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgY29tbWFuZEVycm9yID0gZVxuICAgICAgICB9XG5cbiAgICAgICAgYXdhaXQgZXhlY3V0ZUhvb2tzV2l0aEFyZ3MoXG4gICAgICAgICAgICB0aGlzLm9wdGlvbnMuYWZ0ZXJDb21tYW5kLFxuICAgICAgICAgICAgW2NvbW1hbmROYW1lLCBhcmdzLCBjb21tYW5kUmVzdWx0LCBjb21tYW5kRXJyb3JdXG4gICAgICAgIClcblxuICAgICAgICBpZiAoY29tbWFuZEVycm9yKSB7XG4gICAgICAgICAgICB0aHJvdyBjb21tYW5kRXJyb3JcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBjb21tYW5kUmVzdWx0XG4gICAgfVxuXG4gICAgcmV0dXJuIGZ1bmN0aW9uICguLi5hcmdzKSB7XG4gICAgICAgIGNvbnN0IGZ1dHVyZSA9IG5ldyBGdXR1cmUoKVxuXG4gICAgICAgIGNvbnN0IHJlc3VsdCA9IHJ1bkNvbW1hbmQuYXBwbHkodGhpcywgYXJncylcbiAgICAgICAgcmVzdWx0LnRoZW4oOjpmdXR1cmUucmV0dXJuLCA6OmZ1dHVyZS50aHJvdylcblxuICAgICAgICB0cnkge1xuICAgICAgICAgICAgcmV0dXJuIGZ1dHVyZS53YWl0KClcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBpbiBjYXNlIHNvbWUgM3JkIHBhcnR5IGxpYiByZWplY3RzIHdpdGhvdXQgYnVuZGxpbmcgaW50byBhbiBlcnJvclxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBpZiAodHlwZW9mIGUgPT09ICdzdHJpbmcnKSB7XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGUpXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogaW4gY2FzZSB3ZSBydW4gY29tbWFuZHMgd2hlcmUgbm8gZmliZXIgZnVuY3Rpb24gd2FzIHVzZWRcbiAgICAgICAgICAgICAqIGUuZy4gd2hlbiB3ZSBjYWxsIGRlbGV0ZVNlc3Npb25cbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKGUubWVzc2FnZS5pbmNsdWRlcygnQ2FuXFwndCB3YWl0IHdpdGhvdXQgYSBmaWJlcicpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHJlc3VsdFxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB0aHJvdyBlXG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0= |
{ | ||
"name": "@wdio/sync", | ||
"version": "5.0.0-beta.15", | ||
"version": "5.0.0-beta.16", | ||
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously", | ||
@@ -35,4 +35,4 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/config": "^5.0.0-beta.15", | ||
"@wdio/logger": "^5.0.0-beta.15", | ||
"@wdio/config": "^5.0.0-beta.16", | ||
"@wdio/logger": "^5.0.0-beta.16", | ||
"fibers": "^3.1.1" | ||
@@ -43,3 +43,3 @@ }, | ||
}, | ||
"gitHead": "e399691ea545908a208c62d6730b0a53cee27df8" | ||
"gitHead": "5da0bdc9efbc6630983f329624199c771ee79eef" | ||
} |
61696
Updated@wdio/config@^5.0.0-beta.16
Updated@wdio/logger@^5.0.0-beta.16