From 6b01e7a980aab375754a32e7bea195c920a2a0bf Mon Sep 17 00:00:00 2001 From: Sampark Sharma Date: Tue, 3 Jan 2023 09:29:24 +0000 Subject: [PATCH] Fix tests --- packages/cache/__tests__/cacheHttpClient.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/__tests__/cacheHttpClient.test.ts b/packages/cache/__tests__/cacheHttpClient.test.ts index b848a80c..270016aa 100644 --- a/packages/cache/__tests__/cacheHttpClient.test.ts +++ b/packages/cache/__tests__/cacheHttpClient.test.ts @@ -9,7 +9,7 @@ test('getCacheVersion with one path returns version', async () => { const paths = ['node_modules'] const result = getCacheVersion(paths, undefined, true) expect(result).toEqual( - '470e252814dbffc9524891b17cf4e5749b26c1b5026e63dd3f00972db2393117' + 'af166d7350340bdcd221c5040540ce3b06fb9569f007efe5271845113780e411' ) }) @@ -30,7 +30,7 @@ test('getCacheVersion with zstd compression returns version', async () => { ) }) -test('getCacheVersion with gzip compression does not change vesion', async () => { +test('getCacheVersion with gzip compression returns version', async () => { const paths = ['node_modules'] const result = getCacheVersion(paths, CompressionMethod.Gzip, true)