@wdio/sync
Advanced tools
Comparing version 5.10.1 to 5.10.8
{ | ||
"name": "@wdio/sync", | ||
"version": "5.10.1", | ||
"version": "5.10.8", | ||
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously", | ||
@@ -37,3 +37,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/config": "^5.9.4", | ||
"@wdio/config": "^5.10.8", | ||
"@wdio/logger": "^5.9.3", | ||
@@ -45,3 +45,3 @@ "fibers": "^4.0.0" | ||
}, | ||
"gitHead": "4aa1eb056e88d08e3355e022992930827c4bbc41" | ||
"gitHead": "cec175544f78a26b8f019893adf3b78820bf0a43" | ||
} |
@@ -63,2 +63,3 @@ /// <reference types="node"/> | ||
bail?: number, | ||
specFileRetries?: number, | ||
waitforTimeout?: number, | ||
@@ -89,3 +90,3 @@ waitforInterval?: number, | ||
interface Hooks { | ||
interface HookFunctions { | ||
onPrepare?( | ||
@@ -152,2 +153,7 @@ config: Config, | ||
} | ||
type _HooksArray = { | ||
[K in keyof Pick<HookFunctions, "onPrepare" | "onComplete" | "before" | "after" | "beforeSession" | "afterSession">]: HookFunctions[K] | Array<HookFunctions[K]>; | ||
}; | ||
type _Hooks = Omit<HookFunctions, "onPrepare" | "onComplete" | "before" | "after" | "beforeSession" | "afterSession">; | ||
interface Hooks extends _HooksArray, _Hooks { } | ||
@@ -288,3 +294,3 @@ type ActionTypes = 'press' | 'longPress' | 'tap' | 'moveTo' | 'wait' | 'release'; | ||
attachToElement?: boolean | ||
): void; | ||
): void; | ||
options: RemoteOptions; | ||
@@ -291,0 +297,0 @@ $$( |
28445
784
Updated@wdio/config@^5.10.8