Skip to content

Commit

Permalink
Merge pull request #1128 from log4js-node/update-test
Browse files Browse the repository at this point in the history
test: update fakeFS.read as graceful-fs uses it
  • Loading branch information
lamweili committed Jan 14, 2022
2 parents 25c17ad + c226cb7 commit 53313ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/configuration-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 53313ea

Please sign in to comment.