From f8a2339550051524b28dbff56911557de59441b1 Mon Sep 17 00:00:00 2001 From: panticmilos Date: Mon, 18 Jul 2022 18:33:30 +0200 Subject: [PATCH] Revert restore deps test --- __tests__/cache-restore.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/__tests__/cache-restore.test.ts b/__tests__/cache-restore.test.ts index 149726ae..e591ef1f 100644 --- a/__tests__/cache-restore.test.ts +++ b/__tests__/cache-restore.test.ts @@ -114,6 +114,12 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py dependencyFile ); + if (process.platform === 'linux') { + getLinuxOSReleaseInfoSpy.mockImplementation(() => + Promise.resolve('Ubuntu-20.4') + ); + } + await cacheDistributor.restoreCache(); if (process.platform === 'linux') {