jest-community / vscode-jest

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

Where did the autoRevealOutput option go? #1115

Closed pmcelhaney closed 4 months ago

pmcelhaney commented 4 months ago

The docs mention that autoRevealOutput has moved to runMode, but I don't see it.

I assume it's supposed to be a property under runMode? If that's the intent, I can take a stab at creating a pull request.

Environment

  1. vscode-jest version: 6.2.1
  2. node -v: 18.16.1
  3. npm -v or yarn --version: npm 9.5.1 / yarn 1.22.19
  4. npm ls jest or npm ls react-scripts (if you haven’t ejected): jest@29.7.0
  5. your vscode-jest settings if customized:
  "jest.runMode": {
    "type": "on-save",
    "coverage": false,
    "showInlineError": true,
    "runAllTestsOnStartup": true
  }

(The PR template probably needs to be updated, BTW. :))

  1. Operating system: Mac OS 14.2.1 / M1

Prerequisite

Steps to Reproduce

Run tests in VSCode.

Relevant Debug Info

n/a

Expected Behavior

The test results pane doesn't pop up (because there's an autoRevealOutput setting and it's disabled).

Actual Behavior

The test results pane pops up and I can't find a setting to prevent it.

connectdotz commented 4 months ago

Oops, good catch. This option is superseded by revealWithFocus in outputConfig.

It will be great if you can update the README accordingly! 😃

The PR template probably needs to be updated, BTW

Indeed!

connectdotz commented 4 months ago

The test results pane pops up and I can't find a setting to prevent it.

please see answer here

connectdotz commented 4 months ago

closed by #1116