From 4d5f6ba671f701c953b03cafd2cfc6104bd8b029 Mon Sep 17 00:00:00 2001 From: Vitaliy Potapov Date: Fri, 18 Oct 2024 14:01:37 +0400 Subject: [PATCH] comment --- src/gen/testFile.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gen/testFile.ts b/src/gen/testFile.ts index b020f155..2c8d1bff 100644 --- a/src/gen/testFile.ts +++ b/src/gen/testFile.ts @@ -274,7 +274,9 @@ export class TestFile { const stepToKeywordType = mapStepsToKeywordTypes(scenario.steps, this.language); let hasMissingSteps = false; - // todo: split internal fn later + // todo: refactor internal fn, move to a separate class. + // The problem - it is highly coupled with the testFile class, + // need to pass many params: config, language, featureUri, i18nKeywordsMap, gherkinDocument, etc... // eslint-disable-next-line max-statements const lines = scenario.steps.map((step, index) => { const keywordType = stepToKeywordType.get(step)!;