Skip to content

Commit

Permalink
Fix type for webdriverio onPrepare parameter (#4189)
Browse files Browse the repository at this point in the history
  • Loading branch information
archonandrewhunt authored and christian-bromann committed Jul 17, 2019
1 parent afcb6c4 commit f63ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/templates/webdriverio.tpl.d.ts
Expand Up @@ -89,7 +89,7 @@ declare namespace WebdriverIO {
interface HookFunctions {
onPrepare?(
config: Config,
capabilities: WebDriver.DesiredCapabilities
capabilities: WebDriver.DesiredCapabilities[]
): void;

onComplete?(exitCode: number, config: Config, capabilities: WebDriver.DesiredCapabilities, results: Results): void;
Expand Down

0 comments on commit f63ca53

Please sign in to comment.