-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
World is not context for event listeners #244
Comments
I can confirm this, running cucumber.js version 0.4.1. The documentation suggests this should be a reference the the world object. |
I have the same issue with cucumber 0.4.4. Any idea when this can be fix ? |
This is not a bug. See #165 (comment) for an explanation. I fixed the documentation which was wrong. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I was playing around and I couldn't see the world as the context of the
BeforeFeature
,AfterFeature
,BeforeScenario
andAfterScenario
event listeners. Is this the expected behavior? I guess I could always just keep a reference within a closure.Example:
The text was updated successfully, but these errors were encountered: