This commit is contained in:
panticmilos 2022-07-18 16:02:18 +02:00
parent a743c858bf
commit f882236246

View file

@ -115,7 +115,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
);
if (process.env['RUNNER_OS']?.toLowerCase() === 'linux') {
computeKeysSpy.mockImplementation(() => Promise.resolve('Ubuntu-20.4'));
computeKeysSpy.mockImplementation(() =>
Promise.resolve('Ubuntu-20.4')
);
Object.defineProperty(utils, 'IS_LINUX', {
value: () => {
jest.fn().mockImplementation(() => true);