From 0310d372d22124071cdf5ca6bf2a073a3f5ce0cd Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Fri, 3 Mar 2023 14:31:35 +0100 Subject: [PATCH] Update tests --- __tests__/cache-restore.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/cache-restore.test.ts b/__tests__/cache-restore.test.ts index 8edf0295..81499903 100644 --- a/__tests__/cache-restore.test.ts +++ b/__tests__/cache-restore.test.ts @@ -244,7 +244,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py dependencyFile ) as any; // Widening PipCache | PipenvCache | PoetryCache type to any allow us to change private property on the cacheDistributor to test value: "**/pyprojecttest.toml" - cacheDistributor.cacheDependencyBackupPath = 'some value'; + cacheDistributor.cacheDependencyBackupPath = '**/pyprojecttest.toml'; await expect(cacheDistributor.restoreCache()).rejects.toThrow(); }