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

Always return NightwatchClient instance from client.initialize() call. #4389

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

garg3133
Copy link
Member

@garg3133 garg3133 commented Mar 4, 2025

This is a bug introduced in #4358 (although this does not impact anybody, yet) where if loadNightwatchApis is set to false, the .initialize() method call does not return anything.

Instead, this method should always return a NightwatchClient instance, which it did before the changes in #4358.

Copy link

github-actions bot commented Mar 4, 2025

Status

  • ❌ No modified files found in the types directory.
    Please make sure to include types for any changes you have made. Thank you!.

@garg3133 garg3133 merged commit db87519 into nightwatchjs:main Mar 6, 2025
17 checks passed
@garg3133 garg3133 deleted the fix-for-4358 branch March 6, 2025 18:47
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.

1 participant