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.
- package/index.js +3 -1
- 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
|
-
|
|
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");
|