@democratize-quality/qualitylens-core 0.2.6 → 0.2.7

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.
@@ -2661,14 +2661,17 @@ ${opts.ado ? `ado:
2661
2661
  # planId: 42
2662
2662
  # patEnvVar: ADO_PAT`}
2663
2663
 
2664
- ${opts.csvConfig ? `csv:
2665
- path: ${opts.csvConfig.path}
2666
- titleField: "${opts.csvConfig.titleField}"${opts.csvConfig.dateField ? `
2667
- dateField: "${opts.csvConfig.dateField}"` : ""}` : `# Optional: CSV manual test files (qualitylens-pro)
2664
+ ${opts.csvConfig && opts.csvConfig.length > 0 ? `csv:
2665
+ ` + opts.csvConfig.map(
2666
+ (c) => ` - path: ${c.path}
2667
+ titleField: "${c.titleField}"` + (c.dateField ? `
2668
+ dateField: "${c.dateField}"` : "") + (c.stepsField ? `
2669
+ stepsField: "${c.stepsField}"` : "")
2670
+ ).join("\n") : `# Optional: CSV manual test files (qualitylens-pro)
2668
2671
  # csv:
2669
- # path: ./test-cases # folder containing *.csv exports
2670
- # titleField: "Test Name" # column that holds the test title
2671
- # dateField: "Last Run" # optional: column with last-run date`}
2672
+ # - path: ./test-cases/regression.csv # path to a specific CSV file
2673
+ # titleField: "Test Name" # column that holds the test title
2674
+ # dateField: "Last Run" # optional: column with last-run date`}
2672
2675
 
2673
2676
  # Optional: manual coverage entries
2674
2677
  # manualCoverage: