mirror of
https://github.com/actions/toolkit.git
synced 2026-08-16 00:00:21 +02:00
Adit fix, address copilot comments
This commit is contained in:
+1
@@ -265,6 +265,7 @@ test('save with reserve cache denied by read-only token logs warning (not info)'
|
||||
`Failed to save: Unable to reserve cache with key ${primaryKey}. More details: ${deniedMessage}`
|
||||
)
|
||||
|
||||
expect(logWarningMock).toHaveBeenCalledTimes(1)
|
||||
expect(reserveCacheMock).toHaveBeenCalledTimes(1)
|
||||
expect(createTarMock).toHaveBeenCalledTimes(1)
|
||||
expect(saveCacheMock).toHaveBeenCalledTimes(0)
|
||||
|
||||
Reference in New Issue
Block a user