commit 9d511d61c86352abd59b552ef224ba15f2b08939
parent afe9d18a61cd2e401f8b6385847adae35cf1c5f3
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 25 Oct 2026 02:03:38 +0000
test(context): assert spawnSync never called for invalid sessionID in cleanup
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/context/cleanup.test.ts b/context/cleanup.test.ts
@@ -53,6 +53,8 @@ describe("cleanup", () => {
await cleanup.execute(null);
// @ts-expect-error testing runtime guard
await cleanup.execute(undefined);
+
+ expect(spawnSync).not.toHaveBeenCalled();
});
it("attempts lima stop/delete", async () => {