mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-12-24 11:35:48 +00:00
Unmock fs.existsSync after tests
This commit is contained in:
parent
e93556ca66
commit
f452812b44
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue