This is a problem when executing the test suite with the environment variable TEST_GRACEFUL_FS_GLOBAL_PATCH set, because then the graceful-fs from node_modules will already alter the fs module and therefore the graceful-fs implementation in this repository, that we actually want to test, will never be tested.
I noticed, that
node-tap
has a dependency towrite-file-atomic
which in turn depends ongraceful-fs
.This is a problem when executing the test suite with the environment variable
TEST_GRACEFUL_FS_GLOBAL_PATCH
set, because then thegraceful-fs
fromnode_modules
will already alter thefs
module and therefore thegraceful-fs
implementation in this repository, that we actually want to test, will never be tested.This blocks: https://github.com/isaacs/node-graceful-fs/pull/162