nvim-neotest / neotest-jest

MIT License
116 stars 79 forks source link

jest spawned job is endless if some handle (db connection, file...) is opened. #76

Closed tuanbass closed 8 months ago

tuanbass commented 11 months ago

In some test, especially when working with database, if the handle/connection is not closed, the spawn job is still there in the background. After several runs, lot of jobs stuck there.

image

Also, as the job is not finished, there is no content in test output window

image

tuanbass commented 11 months ago

Simple fix: use --forceExit when spawning a job I created a PR for this.