Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where did the autoRevealOutput option go? #1115

Closed
pmcelhaney opened this issue Feb 16, 2024 · 3 comments
Closed

Where did the autoRevealOutput option go? #1115

pmcelhaney opened this issue Feb 16, 2024 · 3 comments

Comments

@pmcelhaney
Copy link
Contributor

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

  • 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) yarn test

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
Copy link
Collaborator

connectdotz commented Feb 16, 2024

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
Copy link
Collaborator

connectdotz commented Feb 17, 2024

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

please see answer here

@connectdotz
Copy link
Collaborator

closed by #1116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants