Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

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 um 16:17
SKILL.md
readonly