Closed Aboisier closed 5 years ago
Fix #8 .
Made the decorators use a copy of the __testSuiteInstance instead of the reference. This way, when the children decorators are called, they use their own copy instead of sharing the base
https://stackoverflow.com/questions/48122319/why-do-typescript-decorators-on-a-base-class-cause-extensions-to-affect-one-anot
Purpose
Fix #8 .
Approach
Made the decorators use a copy of the __testSuiteInstance instead of the reference. This way, when the children decorators are called, they use their own copy instead of sharing the base
Learnings
https://stackoverflow.com/questions/48122319/why-do-typescript-decorators-on-a-base-class-cause-extensions-to-affect-one-anot