Skip to content

test: add tests for invalid symlink

Rodrigo Muino Tomonari requested to merge patch-4 into master
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

If the symlink is invalid (target file or dir not exists), calling fs.existsSync() should return false.

There are some issues at Windows currently(#30538 (closed)), so win32 platform is excluded temporarily. This condition could be removed after the issue fixed.

Seems this behavior is not mentioned explicitly in the documentation. If it is not as expected please correct me

Merge request reports

Loading