test: fix signal-listener typing in exec bridge test
This commit is contained in:
parent
0c2d85529a
commit
79b649a25e
@ -128,7 +128,7 @@ describe("attachChildProcessBridge", () => {
|
||||
throw new Error("expected SIGTERM listener");
|
||||
}
|
||||
|
||||
addedSigterm();
|
||||
addedSigterm("SIGTERM");
|
||||
expect(observedSignals).toEqual(["SIGTERM"]);
|
||||
expect(kill).toHaveBeenCalledWith("SIGTERM");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user