You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
The run command has unit tests for utility functions (parsePackageSpec, getCacheDir, resolveArgs), but lacks integration tests for the main handleRun function and error handling paths.
Summary
The
runcommand has unit tests for utility functions (parsePackageSpec,getCacheDir,resolveArgs), but lacks integration tests for the mainhandleRunfunction and error handling paths.Current Test Coverage
parsePackageSpec- parsing@scope/name@versionspecsgetCacheDir- cache directory path generationresolveArgs-${__dirname}placeholder resolutionProposed Tests
handleRunwith mock bundle--updateflag forces re-downloaddeps/is prependedImplementation Notes
vitestmocking forRegistryClientandspawn.mcpbbundle for integration testsFiles
src/commands/packages/run.ts- implementationsrc/commands/packages/run.test.ts- existing unit tests