@midscene/cli 1.10.9-beta-20260804015945.0 → 1.10.9

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.
@@ -3789,8 +3789,14 @@ function createRstestYamlProject(options) {
3789
3789
  mkdirSync(resultDir, {
3790
3790
  recursive: true
3791
3791
  });
3792
+ const resultYamlFiles = options.batchConfig ? [
3793
+ ...options.batchConfig.setup ? [
3794
+ options.batchConfig.setup
3795
+ ] : [],
3796
+ ...options.batchConfig.files
3797
+ ] : options.files;
3792
3798
  const virtualModules = {};
3793
- const cases = options.files.map((file, index)=>{
3799
+ const cases = resultYamlFiles.map((file, index)=>{
3794
3800
  const yamlFile = external_node_path_resolve(file);
3795
3801
  const testName = resolveTestName(projectDir, yamlFile);
3796
3802
  const fileStem = safeFileStem(yamlFile, index);