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

File schtasks.test.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Pure-function tests for the schtasks backend. No real `schtasks` shell-out —
3 * `execSchtasks` and the temp-XML writer are stubbed so we can assert the
4 * exact argv and pre-canned `/Query` output.

Callers

nothing calls this directly

Calls 12

buildScheduledTaskXmlFunction · 0.90
parseSchtasksQueryFunction · 0.90
createSchtasksManagerFunction · 0.90
writeInstallPlanFunction · 0.90
readInstallPlanFunction · 0.90
uninstallMethod · 0.80
makeDepsFunction · 0.70
installMethod · 0.65
startMethod · 0.65
stopMethod · 0.65
restartMethod · 0.65
statusMethod · 0.65

Tested by

no test coverage detected