Switched symlink to symlinkSync

- we don't provide a callback for this so we want it synchronous
  but `symlink` is async. Switching to `symlinkSync` should now fix the
  flaky tests
This commit is contained in:
Daniel Lockyer 2020-11-10 10:48:25 +00:00
parent 9cbbef0398
commit 8d9e26cb83

View File

@ -32,7 +32,7 @@ describe('Compress and Extract should be opposite functions', function () {
}); });
it('ensure symlinks work', function (done) { it('ensure symlinks work', function (done) {
fs.symlink(folderToSymlink, symlinkPath); fs.symlinkSync(folderToSymlink, symlinkPath);
let originalHash; let originalHash;