You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
t.ok(fs.lstatSync(`${dest}/link`).isSymbolicLink(),'created a directory symbolic link')
185
+
// below assertion varies for windows because junctions are absolute paths
186
+
t.equal(fs.readlinkSync(`${dest}/link`),process.platform==='win32' ? join(dest,'sub\\') : './sub','created the directory symbolic link with the correct target')
187
+
t.ok(fs.lstatSync(`${dest}/sub/reallysub`).isDirectory(),'created the innermost subdirectory')
188
+
t.ok(fs.lstatSync(`${dest}/sub/reallysub/six`).isSymbolicLink(),'created the innermost symlink')
189
+
t.equal(fs.readlinkSync(`${dest}/sub/reallysub/six`).replace(/\\/g,'/'),'../../one','created the symlink with the appropriate target')
190
+
t.ok(fs.lstatSync(`${dest}/abs`).isSymbolicLink(),'created the absolute path symlink')
191
+
t.equal(fs.readlinkSync(`${dest}/abs`),process.platform==='win32' ? `${process.cwd()}\\` : process.cwd(),'kept the correct absolute path')
t.ok(fs.lstatSync(`${dest}/link`).isSymbolicLink(),'created a directory symbolic link')
162
+
// below assertion varies for windows because junctions are absolute paths
163
+
t.equal(fs.readlinkSync(`${dest}/link`),process.platform==='win32' ? join(dest,'sub\\') : './sub','created the directory symbolic link with the correct target')
164
+
t.ok(fs.lstatSync(`${dest}/sub/reallysub`).isDirectory(),'created the innermost subdirectory')
165
+
t.ok(fs.lstatSync(`${dest}/sub/reallysub/six`).isSymbolicLink(),'created the innermost symlink')
166
+
t.equal(fs.readlinkSync(`${dest}/sub/reallysub/six`).replace(/\\/g,'/'),'../../one','created the symlink with the appropriate target')
167
+
t.ok(fs.lstatSync(`${dest}/abs`).isSymbolicLink(),'created the absolute path symlink')
168
+
t.equal(fs.readlinkSync(`${dest}/abs`),process.platform==='win32' ? `${process.cwd()}\\` : process.cwd(),'kept the correct absolute path')
0 commit comments