Unmock fs.existsSync after tests
parent
e93556ca66
commit
f452812b44
|
@ -72,6 +72,10 @@ describe('run', () => {
|
|||
getCommandOutputSpy = jest.spyOn(utils, 'getCommandOutput');
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
existsSpy.mockRestore();
|
||||
});
|
||||
|
||||
describe('Package manager validation', () => {
|
||||
it('Package manager is not provided, skip caching', async () => {
|
||||
inputs['cache'] = '';
|
||||
|
|
Loading…
Reference in New Issue