Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: close timeout in ConditionalModule
When conditional module was used in integration tests with jest, then an open handle would be reported due to setTimeout promise not triggering before the tests execution finishes. To avoid open handles close the timeout instead of setting a boolean variable and checking its value after 5 (by default) seconds.
- Loading branch information