We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f74929 commit 651dbbdCopy full SHA for 651dbbd
test/lib/commands/copy.js
@@ -172,9 +172,14 @@ t.test('workspaces', async t => {
172
await npm.exec('copy', ['build'])
173
const canonPath = path.join('build', 'node_modules', 'a')
174
const linkPath = path.join('build', 'node_modules', 'c')
175
+ const readlink = fs.readlinkSync(linkPath)
176
+ const linkDest = path.resolve(path.dirname(linkPath), readlink)
177
+
178
+ console.log({ canonPath, linkPath, readlink, linkDest })
179
180
t.strictSame(
181
fs.statSync(canonPath),
- fs.statSync(linkPath),
182
+ fs.statSync(linkDest),
183
`${linkPath} should be a link to ${canonPath}`)
184
})
185
0 commit comments