mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 15:21:10 +00:00
test: fix signal-listener typing in exec bridge test
This commit is contained in:
@@ -128,7 +128,7 @@ describe("attachChildProcessBridge", () => {
|
|||||||
throw new Error("expected SIGTERM listener");
|
throw new Error("expected SIGTERM listener");
|
||||||
}
|
}
|
||||||
|
|
||||||
addedSigterm();
|
addedSigterm("SIGTERM");
|
||||||
expect(observedSignals).toEqual(["SIGTERM"]);
|
expect(observedSignals).toEqual(["SIGTERM"]);
|
||||||
expect(kill).toHaveBeenCalledWith("SIGTERM");
|
expect(kill).toHaveBeenCalledWith("SIGTERM");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user