@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.
- package/dist/es/framework/index.mjs +7 -1
- package/dist/es/framework/index.mjs.map +1 -1
- package/dist/es/index.mjs +11 -3
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/framework/index.js +7 -1
- package/dist/lib/framework/index.js.map +1 -1
- package/dist/lib/index.js +11 -3
- package/dist/lib/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -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 =
|
|
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);
|