mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
test: refactor fs.mkdirSync(..., { recursive: true }) for Node.js <10.12.0
This commit is contained in:
parent
abe8e67a5c
commit
adcc06fb88
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user