Remove all process.chdir
calls in all tests
#7775
Labels
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/large
Large work item – several weeks of effort
feature-request
A feature should be added or improved.
management/devenv
Related to CDK development/build environment
ops-excellence
Operational Excellence
p2
testing
Related to tests needed to be modified or added.
A Jest engineer told me that changing directory in a test is not allowed, and may break assumptions Jest makes about the structure of tests.
We should rewrite our code to make sure we don't chdir in tests.
When this is done, we can get rid of the dependency on
graceful-fs
which was added to the root at a particular version to ensure that we deduplicate the right instances of graceful-fs (in order to not get hit by a caching bug).Source:
jestjs/jest#9923 (comment)
Where we added the dependency to force deduplication to work around a multiple-instance-issue with graceful-fs:
#7667
The text was updated successfully, but these errors were encountered: