botpress / messaging

Botpress messaging server
42 stars 37 forks source link

chore(tests): fix runnning tests locally #497

Closed laurentlp closed 2 years ago

laurentlp commented 2 years ago

This PR fixes an issue when running tests where they would start and the shell would simply freeze. Adding the --runInBand arg was required and didn't work all the time. Upgrading to NodeJS v16.15.0 (latest version as of now) seems to fix the issue.

Related comment (and issue): https://github.com/facebook/jest/issues/12671#issuecomment-1108715239

Note: I also updated yarn to its latest version (3.2.1)