Commit 4ab66aa
committed
test(dlx): cover spawn.mts to 100%
Adds unit tests for validatePackageName, spawnDlx, spawnToolVfs, and
downloadGitHubReleaseBinary covering TOCTOU lock handling (alive/dead/
invalid PID branches, gone lock file), zip-slip protection, symlink-
escape detection, tar.gz extraction, unsupported archive rejection, and
error wrapping.1 parent 588c614 commit 4ab66aa
1 file changed
Lines changed: 632 additions & 0 deletions
0 commit comments