test: count cli command calls

This commit is contained in:
Shakker
2026-05-12 05:13:25 +01:00
parent 78fd1f18c5
commit e35bc01ade
4 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ describe("gateway --force helpers", () => {
const killed = forceFreePort(18789);
expect(execFileSync).toHaveBeenCalled();
expect(execFileSync).toHaveBeenCalledTimes(1);
expect(killMock).toHaveBeenCalledTimes(2);
expect(killMock).toHaveBeenCalledWith(42, "SIGTERM");
expect(killMock).toHaveBeenCalledWith(99, "SIGTERM");