vscode-jest icon indicating copy to clipboard operation
vscode-jest copied to clipboard

Add restart button to "Jest process ended unexpectedly" error message

Open stephtr opened this issue 3 years ago • 1 comments

Environment

  1. vscode-jest version: 4.0.3
  2. node -v: 14.15.1
  3. npm -v or yarn --version: 1.22.5
  4. npm ls jest or npm ls react-scripts (if you haven’t ejected): 27.0.6
  5. your vscode-jest settings if customized:
    • jest.jestCommandLine?
    • jest.autoRun?
    • anything else that you think might be relevant?
  6. Operating system: Windows 11

Prerequisite

  • are you able to run jest test from the command line? [x]
  • how do you run your tests from the command line? (for example: npm run test or node_modules/.bin/jest) yarn jest

Steps to Reproduce

n/a

Relevant Debug Info

n/a

Expected Behavior

If the "Jest process ended unexpectedly" error message appears (because Jest wasn't restored yet or there was a hickup with Git's maintenance lock file), it would be useful to also have a button for restarting Jest.

Actual Behavior

The Jest runner has to be restarted via the menu, since the current error message doesn't offer the option. image

If I'm less busy, I'll probably implement it in a few weeks.

stephtr avatar Aug 09 '21 07:08 stephtr

I have the same issue

bitsmakerde avatar Oct 30 '21 13:10 bitsmakerde