mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 03:00:21 +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");
|
||||
}
|
||||
|
||||
addedSigterm();
|
||||
addedSigterm("SIGTERM");
|
||||
expect(observedSignals).toEqual(["SIGTERM"]);
|
||||
expect(kill).toHaveBeenCalledWith("SIGTERM");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user