Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

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:29 mai 2026 à 16:17
SKILL.md
readonly