fix(e2e): bound update channel logs

This commit is contained in:
Vincent Koc
2026-06-07 10:33:14 +02:00
parent b9d530e292
commit 440f315e83
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1478,6 +1478,10 @@ grep -qx -- "OPENCLAW_E2E_COMMAND_TIMEOUT=23s" "$TMPDIR/package-args"
expect(updateChannel).toContain(
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install -g --prefix /tmp/npm-prefix --omit=optional "$pkg_tgz_path"',
);
expect(updateChannel).toContain("openclaw_e2e_print_log /tmp/openclaw-git-install.log");
expect(updateChannel).toContain('openclaw_e2e_print_log "$package_install_log"');
expect(updateChannel).not.toContain("cat /tmp/openclaw-git-install.log");
expect(updateChannel).not.toContain('cat "$package_install_log"');
expect(doctorSwitch).toContain(
'openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install --omit=optional --no-fund --no-audit',
);