@dev-blinq/cucumber_client 1.0.1674-dev → 1.0.1675-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1286,6 +1286,7 @@ export class BVTRecorder {
1286
1286
  await this.setMode("running");
1287
1287
 
1288
1288
  try {
1289
+ step.text = step.text.trim();
1289
1290
  const { result, info } = await this.stepRunner.runStep(
1290
1291
  {
1291
1292
  step,
@@ -535,6 +535,7 @@ export async function saveRecording({ step, cucumberStep, codePage, projectDir,
535
535
  if (!step.renamedText) {
536
536
  return;
537
537
  }
538
+ step.text = step.text.trim();
538
539
  const { functionName } = stepsDefinitions.findMatchingStep(step.renamedText);
539
540
  step.renamedText = functionName;
540
541
  const newImportLine = `import { ${functionName} } from "./utils.mjs";\n`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1674-dev",
3
+ "version": "1.0.1675-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",