You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to work out why the documented details around Scenario(...).config('SomeHelper', {...}) weren't working for me, and as
far as I can tell, the default base class implementation of _setConfig is actually setting this.opts rather than this.config (which I presume is the correct version, since it's mentioned both in the docs and is assigned initially in the constructor).
I was trying to work out why the documented details around
Scenario(...).config('SomeHelper', {...})
weren't working for me, and asfar as I can tell, the default base class implementation of
_setConfig
is actually settingthis.opts
rather thanthis.config
(which I presume is the correct version, since it's mentioned both in the docs and is assigned initially in the constructor).https://github.com/codeceptjs/helper/blob/master/helper.js#L48
Unless I'm misunderstanding something here, I'd expect _setConfig to also be updating
config
member?The text was updated successfully, but these errors were encountered: