Merge branch 'main' into salmanmkc/node24

This commit is contained in:
Salman Muin Kayser Chishti
2025-08-08 03:54:30 +01:00
5 changed files with 35 additions and 24 deletions
-2
View File
@@ -225,7 +225,6 @@ test('save with server error should fail', async () => {
const filePath = 'node_modules'
const primaryKey = 'Linux-node-bb828da54c148048dd17899ba9fda624811cfb43'
const logErrorMock = jest.spyOn(core, 'error')
// Removing the unused variable logWarningMock
// Mock cache service version to V2
const getCacheServiceVersionMock = jest
@@ -271,7 +270,6 @@ test('save with server error should fail', async () => {
expect(createCacheEntryMock).toHaveBeenCalledTimes(1)
const archiveFolder = '/foo/bar'
const cachePaths = [path.resolve(filePath)]
// Removing the unused variable archiveFile
expect(createTarMock).toHaveBeenCalledTimes(1)
expect(createTarMock).toHaveBeenCalledWith(
archiveFolder,