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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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, exit = true) => {
803
+ let run = async (file, overwrite = false, shouldExit = true) => {
804
804
 
805
805
  // parse potential string value for exit
806
- exit = exit === "false" ? false : true;
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 (exit) {
882
+ if (shouldExit) {
883
883
  await summarize();
884
884
  await exit(false);
885
885
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.69",
3
+ "version": "4.0.70",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {