Skip to main content
Execute qualquer Skill no Manus
com um clique

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 de maio de 2026 às 16:17
SKILL.md
readonly