Skip to content

Commit 4ab66aa

Browse files
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

File tree

0 commit comments

Comments
 (0)