Skip to main content
Run any Skill in Manus
with one click
$pwd:

mock-to-internals-migration

// Apply when converting test files from mock.module('node:child_process') to _internals DI seam pattern. Guides the complete migration: adding spawnSync/_internals to source files, converting test files, adding proper beforeEach/afterEach save/restore lifecycle, mockReset() cleanup, and temp directory cleanup. Prevents mock.module leaks across Bun's shared test-runner process.

$ git log --oneline --stat
stars:340
forks:35
updated:May 29, 2026 at 16:17
SKILL.md
readonly