diff --git a/test/tap/fileSyncAppender-test.js b/test/tap/fileSyncAppender-test.js index 1330d10..912b1ab 100644 --- a/test/tap/fileSyncAppender-test.js +++ b/test/tap/fileSyncAppender-test.js @@ -524,7 +524,9 @@ test('log4js fileSyncAppender', (batch) => { errorEROFS ); - fs.mkdirSync('tmpA/tmpB/tmpC', { recursive: true }); + fs.mkdirSync('tmpA'); + fs.mkdirSync('tmpA/tmpB'); + fs.mkdirSync('tmpA/tmpB/tmpC'); sandboxedLog4js = sandbox.require('../../lib/log4js', { requires: {