npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

maketest script and symlinks

While creating a fixture I noticed that symlinks don’t seem to behave correctly in the maketest script. In loadFromDir in tacks, if the relative path of a symlink is two or more levels up, it is resolved to the top of the fixture. However, maketest inserts the generated fixture source into a subdirectory (testdir) of the actual test fixture. This invalidates such symlinks.