test: do not write fixture in test-require-symlink · nodejs/node@f20fb4c · GitHub
Skip to content

Commit f20fb4c

Browse files
Trottjasnell
authored andcommitted
test: do not write fixture in test-require-symlink
test-require-symlink modifies the fixture directory by adding a symlink. Copy the fixture to the test tmpdir instead of modifying the fixture directory. This also uses a more empirical test for checking for the ability to make symlinks on Windows. PR-URL: #15067 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8ce0e9a commit f20fb4c

2 files changed

Lines changed: 47 additions & 32 deletions

File tree

Lines changed: 4 additions & 3 deletions

test/parallel/test-require-symlink.js

Lines changed: 43 additions & 29 deletions

0 commit comments

Comments
 (0)