Skip to content

Commit

Permalink
Initial dangling link work - what to do next?
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 10, 2022
1 parent 93b37eb commit d47591f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/mkdirp.js
Expand Up @@ -369,6 +369,15 @@ function suite() {
});
});
});

it('does what if dangling link', function (done) {
fs.symlinkSync('not-exist', outputDirpath);

mkdirp(outputDirpath, function (err) {
console.log(err);
done();
});
});
}

describe('mkdirp', suite);
Expand Down

0 comments on commit d47591f

Please sign in to comment.