Skip to content

Commit f452812

Browse files
Unmock fs.existsSync after tests
1 parent e93556c commit f452812

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

__tests__/cache-save.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ describe('run', () => {
7272
getCommandOutputSpy = jest.spyOn(utils, 'getCommandOutput');
7373
});
7474

75+
afterEach(() => {
76+
existsSpy.mockRestore();
77+
});
78+
7579
describe('Package manager validation', () => {
7680
it('Package manager is not provided, skip caching', async () => {
7781
inputs['cache'] = '';

0 commit comments

Comments
 (0)