You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`generateConfigs()` function executes a nodejs [exec] that takes many seconds to complete. As the test was not waiting for the process to terminate, Jest was complaining with the following error message: ``` Jest did not exit one second after the test run has completed. This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue. ``` Additionally, this test could have a false positive expectation since it was likely to run the snapshot comparison with previously generated plugin configurations. By default Jest tests will timeout if they take longer than 5 seconds to complete, since this test takes more than 10 seconds to complete on my local machine, this test timeout configuration has been increased to 20 seconds. [exec]: https://nodejs.org/api/child_process.html#child_processexeccommand-options-callback
0 commit comments