Files
load-secrets-action/src/__mocks__/actions-tool-cache.ts
2026-02-26 08:14:16 -05:00

11 lines
267 B
TypeScript

module.exports = {
downloadTool: jest.fn(),
extractTar: jest.fn(),
extractZip: jest.fn(),
cacheDir: jest.fn<Promise<string>, [string]>(async (dir) => {
await Promise.resolve();
return dir;
}),
find: jest.fn<string, [string, string?, string?]>(() => ""),
};