shoplazza-ai-dev-cli 0.1.7 → 0.1.8-snapshot.0
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/_chunks/test.mjs +1 -3
- package/package.json +1 -1
package/dist/_chunks/test.mjs
CHANGED
|
@@ -495,7 +495,7 @@ async function create$2(client, args, json) {
|
|
|
495
495
|
const { named } = parseNamedArgs(args);
|
|
496
496
|
const body = {
|
|
497
497
|
name: requireArg(named, "name", "name"),
|
|
498
|
-
kind: requireArg(named, "kind", "regression|
|
|
498
|
+
kind: requireArg(named, "kind", "regression|flow|baseline|custom"),
|
|
499
499
|
selection_mode: "manual"
|
|
500
500
|
};
|
|
501
501
|
const data = await client.post("/api/test/case-sets", body);
|
|
@@ -767,7 +767,6 @@ async function mark(client, args, json) {
|
|
|
767
767
|
}
|
|
768
768
|
body["duration_ms"] = n;
|
|
769
769
|
}
|
|
770
|
-
if (typeof named["executor"] === "string") body["executor"] = named["executor"];
|
|
771
770
|
const data = await client.post("/api/test/case-results", body);
|
|
772
771
|
if (json) {
|
|
773
772
|
printJson(data);
|
|
@@ -788,7 +787,6 @@ async function batch(client, args, json) {
|
|
|
788
787
|
}
|
|
789
788
|
const payload = readFileInput(requireArg(named, "file", "path"));
|
|
790
789
|
payload["plan_id"] = planId;
|
|
791
|
-
if (typeof named["executor"] === "string") payload["executor"] = named["executor"];
|
|
792
790
|
const data = await client.post("/api/test/case-results:batch", payload);
|
|
793
791
|
if (json) {
|
|
794
792
|
printJson(data);
|