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

docs: add extension to required ts conf path #5707

Merged
merged 1 commit into from
Aug 10, 2020
Merged

docs: add extension to required ts conf path #5707

merged 1 commit into from
Aug 10, 2020

Conversation

rendmath
Copy link
Contributor

@rendmath rendmath commented Aug 10, 2020

If you create a wdio.config.ts file next to the initial wdio.config.js file, the require('./wdio.conf') advised in the tutorial picks the .js file and not the TypeScript one.
It gives a very misleading ERROR @wdio/cli:launcher: Missing capabilities, exiting with failure from launcher.js.

Proposed changes

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

Reviewers: @webdriverio/project-committers

If you create a wdio.config.ts file next to the initial wdio.config.js file, the `require('./wdio.conf')` advised in the tutorial picks the .js file and not the TypeScript one.
It gives a very misleading ERROR @wdio/cli:launcher: Missing capabilities, exiting with failure from launcher.js.
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@christian-bromann christian-bromann added the PR: Docs 📝 PRs that contain changes to the documentation label Aug 10, 2020
@christian-bromann christian-bromann merged commit f596cd2 into webdriverio:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Docs 📝 PRs that contain changes to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants