test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b
2026-04-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +import { readFileSync } from "node:fs"; |
| 2 | +import { describe, expect, it } from "vitest"; |
| 3 | + |
| 4 | +const SCRIPT_PATH = "scripts/e2e/parallels-npm-update-smoke.sh"; |
| 5 | + |
| 6 | +describe("parallels npm update smoke", () => { |
| 7 | +it("does not leave guard/server children attached to the wrapper", () => { |
| 8 | +const script = readFileSync(SCRIPT_PATH, "utf8"); |
| 9 | + |
| 10 | +expect(script).toContain('wait "$SERVER_PID" 2>/dev/null || true'); |
| 11 | +expect(script).toContain(") >&2 &"); |
| 12 | +expect(script).toContain('wait "$pid" 2>/dev/null || true'); |
| 13 | +}); |
| 14 | +}); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。