mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 17:09:05 +08:00
Standardized test case input
This commit is contained in:
parent
07b91eafe5
commit
6421989639
2
packages/cache/__tests__/saveCache.test.ts
vendored
2
packages/cache/__tests__/saveCache.test.ts
vendored
@ -292,7 +292,7 @@ test('save with valid inputs uploads a cache', async () => {
|
||||
})
|
||||
|
||||
test('save with non existing path should not save cache', async () => {
|
||||
const paths: string[] = ['aPathThatDoesnotExist']
|
||||
const paths: string[] = ['node_modules']
|
||||
const primaryKey = 'Linux-node-bb828da54c148048dd17899ba9fda624811cfb43'
|
||||
jest.spyOn(cacheUtils, 'resolvePaths').mockImplementation(async filePaths => {
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user