Constructor calling typescript vs java #2280
jonathangiber
started this conversation in
General
Replies: 2 comments 3 replies
-
Do you mean call the constructor? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I wonder where I should initialize the scenarioStore, I thought creating a BaseStep in which every step class would inherit from it but guess it won't be convenient since no one is calling the step constructor classes. Is the beforeSuite a good choice to init the scenarioStore then? thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
Im using gauge in two different projects in the company I work.
One is in java and the new one in typescript.
While java would call and initialize the class of the step being called automatically, I noticed that in typescript this isn't happening and the constructor isn't being called at all.
Am I missing something or should I initialize the step class in every single step?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions