@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.
@@ -3856,8 +3856,14 @@ defineYamlBatchTest(test, testOptions);
3856
3856
  (0, external_node_fs_.mkdirSync)(resultDir, {
3857
3857
  recursive: true
3858
3858
  });
3859
+ const resultYamlFiles = options.batchConfig ? [
3860
+ ...options.batchConfig.setup ? [
3861
+ options.batchConfig.setup
3862
+ ] : [],
3863
+ ...options.batchConfig.files
3864
+ ] : options.files;
3859
3865
  const virtualModules = {};
3860
- const cases = options.files.map((file, index)=>{
3866
+ const cases = resultYamlFiles.map((file, index)=>{
3861
3867
  const yamlFile = (0, external_node_path_.resolve)(file);
3862
3868
  const testName = resolveTestName(projectDir, yamlFile);
3863
3869
  const fileStem = safeFileStem(yamlFile, index);