mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1128 from log4js-node/update-test
test: update fakeFS.read as graceful-fs uses it
This commit is contained in:
commit
53313ea9d4
@ -14,7 +14,7 @@ test("log4js configure", batch => {
|
||||
fileRead = 0;
|
||||
|
||||
fakeFS = {
|
||||
realpath: () => {}, // fs-extra looks for this
|
||||
realpath: realFS.realpath, // fs-extra looks for this
|
||||
ReadStream: realFS.ReadStream, // need to define these, because graceful-fs uses them
|
||||
WriteStream: realFS.WriteStream,
|
||||
read: realFS.read,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user