Skip to content

Running test from "Test explorer" changes view to "File explorer" #994

Open
@bmutafov

Description

@bmutafov

Environment

  1. vscode-jest version: v5.1.0
  2. node -v: v12.22.7
  3. npm -v or yarn --version: npm 6.14.15
  4. npm ls jest or npm ls react-scripts (if you haven’t ejected): [email protected]
  5. your vscode-jest settings if customized:
    • jest.jestCommandLine? npm test --
    • jest.autoRun
{
  "watch": false,
  "onSave": "test-file"
}
  1. Operating system: Windows 11

Prerequisite

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

Steps to Reproduce

  1. Click Test explorer
  2. Click Run test
  3. Sidebar view is switched to File explorer

Relevant Debug Info

VSCode Version:

$ code -v
1.74.3
97dec172d3256f8ca4bfb2143f3f76b503ca0534
x64

Expected Behavior

Sidebar view stays on Test explorer

Actual Behavior

jest-test


The fastest (and the most fun) way to resolve the issue is to submit a pull-request yourself. If you are interested, feel free to check out the contribution guide, we look forward to seeing your PR...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions