jest-community / vscode-jest

The optimal flow for Jest based testing in VS Code
MIT License
2.82k stars 291 forks source link

[FEATURE] Option to completely disable terminal #1143

Open asportnoy opened 2 months ago

asportnoy commented 2 months ago

Is your feature request related to a problem? Please describe. The Jest terminal gets in the way for me and messes with my workflow

Describe the solution you'd like I'd like an option to completely disable the terminal from showing up and solely have results in the "test results" panel

Describe alternatives you've considered I disabled the auto focus which did help a bit, but still would prefer for it to not be there at all. I tried manually closing the terminal as well but it just reopens the next time I run a test.

Additional context N/A

connectdotz commented 2 months ago

This is the first time I've encountered such a request. Typically, disabling jest.outputConfig.revealWithFocus should prevent the terminal from popping up to interrupt your workflow. Rather than adding another option to disable the terminal, perhaps we could consider handling the terminal's close event to ensure it doesn't reopen once a user has explicitly closed it. 🤔

Let's keep this discussion open to gather more feedback from other users.

asportnoy commented 2 months ago

That seems like a pretty good option to me, makes sense that closing the terminal would keep it from re-opening.