Restore mocked value for non linux

This commit is contained in:
panticmilos 2022-07-18 15:31:36 +02:00
parent bdfd06e951
commit 2f31a3b56e

View file

@ -122,6 +122,12 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
jest.fn().mockReturnValue(true);
}
});
} else {
Object.defineProperty(utils, 'IS_LINUX', {
value: () => {
jest.fn().mockReturnValue(false);
}
});
}
await cacheDistributor.restoreCache();