Closed iain-b closed 6 years ago
Ok, I found where the issue is. Will try to fix it today.
Thanks for testing!
@iain-b could you please retest master
branch? I tested your cases now should work as expected
Update: I will make a release if it works for you
Tested and can confirm the fixes are good 👍 With a couple of small fixes on my side I was able to upgrade. A release would be great, Thanks!
Cool! I'll publish new version on Sun.
just published 2.2.0
UPDATE: release notes can be found here https://github.com/stalniy/bdd-lazy-var/releases/tag/v2.2.0
Upgraded 👍 Thank you!
I'm trying to upgrade from 1.3.1 to 2.1.2 and I'm having some issues. This is similar to an issue I created earlier but I'll leave it to the maintainer to determine if it's a duplicate or not.
It seems that if I inherit from the subject in one context this function is applied again in a child of this context. I've put comments on an example below but the crux is that if I define a subject in a context
subject(() => subject().foo)
then in child contexts which don't explicitly define the subject it seems it is defined assubject().foo.foo
.I'm happy to help out with a fix but I'd need some pointers to where I might look in the code.