MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / launchd.test.ts

File launchd.test.ts

packages/server/test/svc/launchd.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Pure-function tests for the launchd backend. No real `launchctl` shell-out —
3 * `execLaunchctl` is stubbed so we can assert the exact argv and force
4 * pre-canned results.

Callers

nothing calls this directly

Calls 14

buildLaunchAgentPlistFunction · 0.90
parseLaunchctlPrintFunction · 0.90
createLaunchdManagerFunction · 0.90
writeInstallPlanFunction · 0.90
readInstallPlanFunction · 0.90
resolveSupervisorProgramFunction · 0.85
uninstallMethod · 0.80
makeDepsFunction · 0.70
installMethod · 0.65
startMethod · 0.65
stopMethod · 0.65
restartMethod · 0.65

Tested by

no test coverage detected