firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
264 stars 124 forks source link

Extension opens new terminal although its terminal still exists #292

Closed shaman-apprentice closed 1 year ago

shaman-apprentice commented 1 year ago

Bug

Expected behavior

GIVEN a vscode-jest-runnter terminal is open WHEN running tests through the extension THEN the existing vscode-jest-runnter terminal gets used

Actual behavior

Under certain conditions vscode-jest-runner creates a new terminal

Steps to reproduce

  1. Open a terminal
  2. Run a tests through the extension -> a vscode-jest-runner terminal gets created
  3. Close the terminal from step one
  4. Run a test through the extension -> a new vscode-jest-runner terminal gets created, although the one from step 2 still exists

Thanks saying

Thanks in general for this nice extension! It improves my workflow :)

firsttris commented 1 year ago

thx mate