mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:10:44 +00:00
test(plugins): pass live clawhub flag to docker
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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:');
|
||||
|
||||
Reference in New Issue
Block a user