Another attempt to fix tests
This commit is contained in:
@@ -19,6 +19,9 @@ jest.mock('@actions/core', () => {
|
|||||||
|
|
||||||
jest.mock('fs', () => {
|
jest.mock('fs', () => {
|
||||||
return {
|
return {
|
||||||
|
existsSync: () => {
|
||||||
|
return false
|
||||||
|
},
|
||||||
readFileSync: mockReadFileSync,
|
readFileSync: mockReadFileSync,
|
||||||
statSync: mockStatSync
|
statSync: mockStatSync
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user