Skip to content

Commit

Permalink
mock
Browse files Browse the repository at this point in the history
  • Loading branch information
nha committed Apr 1, 2024
1 parent 8312460 commit 692d986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/install-url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jest.mock('@actions/core', () => ({
jest.mock('@actions/tool-cache', () => ({
...jest.requireActual('@actions/tool-cache'),
find: jest.fn(),
findAllVersions: jest.fn().mockReturnValue(['1.0.0', '2.0.0']),
downloadTool: jest.fn(),
cacheFile: jest.fn(),
addPath: jest.fn(),
Expand Down

0 comments on commit 692d986

Please sign in to comment.