Closed TooManyBees closed 3 years ago
Avoids memory leaks in Jest caused by monkeypatching native modules. Using the style of fix described here (https://chanind.github.io/javascript/2019/10/12/jest-tests-memory-leak.html) adds a property to indicate that DNS, HTTP, and HTTPS have already been patched.
Avoids memory leaks in Jest caused by monkeypatching native modules. Using the style of fix described here (https://chanind.github.io/javascript/2019/10/12/jest-tests-memory-leak.html) adds a property to indicate that DNS, HTTP, and HTTPS have already been patched.