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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve problems reported by the TypeScript compiler #899

Merged
merged 1 commit into from Apr 7, 2024

Conversation

seanpoulter
Copy link
Contributor

@seanpoulter seanpoulter commented Apr 4, 2024

Proposed Changes

This PR is a few incremental changes to resolve problems reported by tsc.

I removed the proxy option. Based on the docs it doesn't actually configure got. 馃う

@@ -29,177 +26,124 @@ describe('getRunningProcessType', () => {
});

describe('getSeleniumStatusUrl', () => {
// selenium 4 version
const seleniumVersion = '4.5.0';
/** @type {ReadonlyArray<{ version: '3.141.59' | '4.5.0', args: string[], expected: string}>} */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI:

  • The version is required and renamed from seleniumVersion
  • The expectedUrl is renamed to as expected
  • Inlines the URL paths
  • Removes the test cases that show the --grid-url arg is ignored. It is unnecessary.

@seanpoulter
Copy link
Contributor Author

To be clear, we don't call tsc in the Workflow/Checks yet. It fails.

@seanpoulter seanpoulter merged commit 954b30a into webdriverio:main Apr 7, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants