diff --git a/__tests__/util.transferpath.test.js b/__tests__/util.transferpath.test.js index 112270422..b0b46f7e9 100644 --- a/__tests__/util.transferpath.test.js +++ b/__tests__/util.transferpath.test.js @@ -84,6 +84,10 @@ jest.mock('../src/util/fs', () => { size: 0, }); }, + ensureDirWritableAsync: jest.fn((dirPath) => { + insert(dirPath, { }); + return Promise.resolve(); + }), mkdirsAsync: jest.fn(dirPath => { insert(dirPath, { }); return Promise.resolve();