test(plugins): pass live clawhub flag to docker

This commit is contained in:
Vincent Koc
2026-05-02 11:10:47 -07:00
parent 9c0c0ed127
commit 43aaeeee15
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ DOCKER_ENV_ARGS=(
)
for env_name in \
OPENCLAW_PLUGINS_E2E_CLAWHUB \
OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB \
OPENCLAW_PLUGINS_E2E_CLAWHUB_SPEC \
OPENCLAW_PLUGINS_E2E_CLAWHUB_ID \
OPENCLAW_CLAWHUB_URL \

View File

@@ -275,6 +275,7 @@ describe("docker build helper", () => {
const clawhub = readFileSync(PLUGINS_DOCKER_CLAWHUB_PATH, "utf8");
expect(runner).toContain("scripts/e2e/lib/plugins/sweep.sh");
expect(runner).toContain("OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB");
expect(sweep).toContain("scripts/e2e/lib/plugins/clawhub.sh");
expect(clawhub).toContain("start_clawhub_fixture_server()");
expect(clawhub).toContain('OPENCLAW_CLAWHUB_URL="http://127.0.0.1:');