testdriverai 4.0.69 → 4.0.70
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -800,10 +800,10 @@ ${regression}
|
|
|
800
800
|
// this will load a regression test from a file location
|
|
801
801
|
// it parses the markdown file and executes the codeblocks exactly as if they were
|
|
802
802
|
// generated by the AI in a single prompt
|
|
803
|
-
let run = async (file, overwrite = false,
|
|
803
|
+
let run = async (file, overwrite = false, shouldExit = true) => {
|
|
804
804
|
|
|
805
805
|
// parse potential string value for exit
|
|
806
|
-
|
|
806
|
+
shouldExit = shouldExit === "false" ? false : true;
|
|
807
807
|
overwrite = overwrite === "false" ? false : true;
|
|
808
808
|
|
|
809
809
|
setTerminalWindowTransparency(true);
|
|
@@ -879,7 +879,7 @@ ${yaml.dump(step)}
|
|
|
879
879
|
|
|
880
880
|
setTerminalWindowTransparency(false);
|
|
881
881
|
|
|
882
|
-
if (
|
|
882
|
+
if (shouldExit) {
|
|
883
883
|
await summarize();
|
|
884
884
|
await exit(false);
|
|
885
885
|
}
|