mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
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:
parent
9cbbef0398
commit
8d9e26cb83
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user