mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-11 04:48:05 +00:00
test(release): narrow Parallels agent smoke plugins
This commit is contained in:
@@ -33,8 +33,8 @@ describe("Parallels smoke model selection", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("keeps Parallels agent-turn smokes on a focused plugin allowlist", () => {
|
||||
for (const scriptPath of [...OS_SCRIPT_PATHS, NPM_UPDATE_SCRIPT_PATH]) {
|
||||
it("keeps Parallels agent-turn smokes on a provider-only plugin allowlist by default", () => {
|
||||
for (const scriptPath of ["scripts/e2e/parallels-windows-smoke.sh", NPM_UPDATE_SCRIPT_PATH]) {
|
||||
const script = readFileSync(scriptPath, "utf8");
|
||||
|
||||
expect(script, scriptPath).toContain("release_smoke_plugin_allowlist_json");
|
||||
@@ -43,8 +43,12 @@ describe("Parallels smoke model selection", () => {
|
||||
script.includes("config set plugins.allow") || script.includes("config set --batch-file"),
|
||||
scriptPath,
|
||||
).toBe(true);
|
||||
expect(script, scriptPath).toContain('"acpx"');
|
||||
expect(script, scriptPath).toContain('"device-pair"');
|
||||
expect(script, scriptPath).toContain('printf \'["%s"]\' "$PROVIDER"');
|
||||
expect(script, scriptPath).toContain(
|
||||
"OPENCLAW_PARALLELS_RELEASE_SMOKE_PLUGIN_ALLOWLIST_JSON",
|
||||
);
|
||||
expect(script, scriptPath).not.toContain('"acpx"');
|
||||
expect(script, scriptPath).not.toContain('"device-pair"');
|
||||
expect(script, scriptPath).not.toContain('"memory-core"');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user