testdriverai 4.0.46 → 4.0.47

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -485,6 +485,7 @@ const generate = async (type) => {
485
485
 
486
486
  // for each testPrompt
487
487
  for (const testPrompt of testPrompts) {
488
+
488
489
  // with the contents of the testPrompt
489
490
  let fileName =
490
491
  sanitizeFilename(testPrompt.headings[0])
@@ -497,7 +498,8 @@ const generate = async (type) => {
497
498
  fs.mkdirSync(path.join(process.cwd(), "testdriver", "generate"));
498
499
  }
499
500
  let list = testPrompt.listsOrdered[0];
500
- list.append(`/save testdriver/${fileName}`);
501
+
502
+ list.push(`/save testdriver/${fileName}`);
501
503
  let contents = list
502
504
  .map((item, index) => `${index + 1}. /explore ${item}`)
503
505
  .join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.46",
3
+ "version": "4.0.47",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {