Skip to content

Commit e7a573a

Browse files
bzozrvagg
authored andcommitted
test: fix test-require-symlink on Windows
Creating directory symlinks on Windows require 'dir' parameter to be provided. Fixes: #23596 PR-URL: #23691 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ac91346 commit e7a573a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-require-symlink.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const linkScriptTarget = path.join(dirName, 'symlinked.js');
5858
test();
5959

6060
function test() {
61-
fs.symlinkSync(linkTarget, linkDir);
61+
fs.symlinkSync(linkTarget, linkDir, 'dir');
6262
fs.symlinkSync(linkScriptTarget, linkScript);
6363

6464
// load symlinked-module

0 commit comments

Comments
 (0)