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 928384aCopy full SHA for 928384a
test/lib/commands/copy.js
@@ -172,9 +172,10 @@ 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 linkDest = fs.readlinkSync(path.join('build', 'node_modules', 'c'))
176
t.strictSame(
177
fs.statSync(canonPath),
- fs.statSync(linkPath),
178
+ fs.statSync(linkDest),
179
`${linkPath} should be a link to ${canonPath}`)
180
})
181
0 commit comments