test: stabilize slow and flaky tests

This commit is contained in:
Peter Steinberger
2026-01-16 06:24:55 +00:00
parent 23981496f9
commit 0b3ebb0c63
4 changed files with 10 additions and 8 deletions

View File

@@ -25,8 +25,8 @@ describe("parseSystemdExecStart", () => {
]);
});
it("supports backslash-escaped characters", () => {
const execStart = "/usr/bin/clawdbot gateway start --path \/tmp\/clawdbot";
it("parses path arguments", () => {
const execStart = "/usr/bin/clawdbot gateway start --path /tmp/clawdbot";
expect(parseSystemdExecStart(execStart)).toEqual([
"/usr/bin/clawdbot",
"gateway",