Skip to content

Commit

Permalink
Fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Sep 14, 2024
1 parent aa705ff commit 278f0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/runOld.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('When calling action without mandatory parameters', () => {
it('Should call the method setFailed() once', async () => {
expect.assertions(2);

const mockCoreSetFailed = jest.spyOn(core, 'setFailed');
const mockCoreSetFailed = jest.spyOn(core, 'setFailed').mockImplementation(() => { });

await runOld();

Expand Down

0 comments on commit 278f0bf

Please sign in to comment.