We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38c1819 commit bb7cfc1Copy full SHA for bb7cfc1
test/cli-spec.js
@@ -226,9 +226,10 @@ describe('command line interface', function () {
226
.endsWith('tmp/packthis-with-symlink.asar.unpacked/Hello.framework/Versions/A/Headers'),
227
);
228
} else {
229
- assert.equal(
230
- fs.readlinkSync('tmp/packthis-with-symlink.asar.unpacked/WindowsMklink/SymlinkedDir'),
231
- 'Test',
+ assert.ok(
+ fs
+ .realpathSync('tmp/packthis-with-symlink.asar.unpacked/WindowsMklink/SymlinkedDir')
232
+ .endsWith(path.normalize('tmp/packthis-with-symlink.asar.unpacked/WindowsMklink/Test')),
233
234
assert.ok(
235
fs
0 commit comments