test: clarify daemon launchd signal assertion · openclaw/openclaw@5099e47
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -295,6 +295,7 @@ describeLaunchdIntegration("launchd integration", () => {
|
295 | 295 | const events = await fs.readFile(eventsPath, "utf8"); |
296 | 296 | const lines = events.trim().split(/\r?\n/).filter(Boolean); |
297 | 297 | expect(lines.filter((line) => line.startsWith("start "))).toHaveLength(1); |
298 | | -expect(lines.some((line) => /^(SIGHUP|SIGINT|SIGTERM) /.test(line))).toBe(false); |
| 298 | +const signalLines = lines.filter((line) => /^(SIGHUP|SIGINT|SIGTERM) /.test(line)); |
| 299 | +expect(signalLines).toEqual([]); |
299 | 300 | }, 60_000); |
300 | 301 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。