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(); }