Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@wdio/mocha-framework - fix deprecation warning #7171

Merged
merged 2 commits into from
Jul 22, 2021

Conversation

unickq
Copy link
Contributor

@unickq unickq commented Jul 22, 2021

Proposed changes

Update for #7040 and #7047

@christian-bromann
Copy link
Member

christian-bromann commented Jul 22, 2021

@unickq can you fix the types here: https://github.com/webdriverio/webdriverio/blob/main/packages/wdio-mocha-framework/src/types.ts#L5-L9

    /**
     * The `require` option is useful when you want to add or extend some
     * basic functionality (WebdriverIO framework option).
     */
+    require?: string[],
-    require?: string | string[],

@christian-bromann christian-bromann added the PR: Bug Fix 🐛 PRs that contain bug fixes label Jul 22, 2021
@christian-bromann christian-bromann merged commit fd9f934 into webdriverio:main Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix 🐛 PRs that contain bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants