killProcessTree is module-mocked at the top of start.test.ts, so process.kill is never invoked by the stop command — the spy assertion would always see 0 calls on Linux CI. Assert on the mock directly. Mock is platform-agnostic, so the skipIf is gone. |
||
|---|---|---|
| .. | ||
| commands | ||
| lib | ||
| options | ||
| scripts | ||
| index.test.ts | ||
| program.test.ts | ||