-
Notifications
You must be signed in to change notification settings - Fork 33
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
can we have support async/await for wdio-intercept-service #598
Comments
Can you explained in a bit more detail what you mean by that? |
@LakshmiYaswanth Please provide more detail in your question / request. What would be extremely helpful is if you could provide an example of asynchronous code using wdio-intercept-service that you would like to have work, but which does not currently work. |
Maybe I can help: I can see that the signature will depend if web here are the types used in tsConfig:
My dev dependencies: At runtime, indeed promises are always returned by this plugin function but during compilation i keep getting eslint complaining that "await has no effect on this instruction"....everywhere... Can you advise ? May I bring more details ? |
Sounds like this is a duplicate of #229 |
Hello @christian-bromann , I have the same issue . I can't use this service in TS file. My types are correctly configured: I think the types are not correctly seen by typescript |
@lacell75 this package does not provide any types. If anyone wants to contribute this, that would be awesome, thank you! |
@lacell75 that looks like just an ESLint error, just disable it. It's perfectly fine to |
can we have support async/await for wdio-intercept-service
The text was updated successfully, but these errors were encountered: