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

Context Injection with Promise #14

Open
ericrommel opened this issue Jan 30, 2023 · 0 comments
Open

Context Injection with Promise #14

ericrommel opened this issue Jan 30, 2023 · 0 comments

Comments

@ericrommel
Copy link

Hi Elliot, what's up?
I'm contacting you cause I followed this post to get my project done (https://github.com/denolfe/blog-code-samples/tree/master/posts/cucumber-with-typescript).

Everything is working fine but now I need to increase my project and in that case, I'm splitting everything (feature/step definitions folders and files). And here is my issue. How to share the context between the files. From the cucumber js tsflow doc, we can use Context Injection, that's work fine for simple and synchrous but doesn't work from async and promises things. At least I couldn't do it to work yet. Maybe do you know how to do so?

Thanks for any help/assistance in advance.

Eric

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

No branches or pull requests

1 participant