Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Jest run by nameNew to Visual Studio Code? Get it now.
Jest run by name

Jest run by name

UnnamedXAer

|
117 installs
| (0) | Free
Run Jest test by entered name.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jest run by name

Quickly run the Jest test by a test name.

Features

- Call >Jest by name< extension

Type the test name

- Type the test name or name pattern and confirm by ENTER

Type the test name

- Or you can select one of your tests name using option >Jest by name [select]<

Type the test name

- Then selecting one of your tests name from the quick pick 

Type the test name

- The Quick pick mode has a history of the last three selections

Type the test name

- Then the tests that match the name patter will be executed.

Type the test name

Requirements

  1. Jest set up.

Jest by name will be looking for the tests files and therefore for the test itself by a patterns specified in jest.config.*s under testMatch (if not specified the default Jest value will be used)

Extension Settings

/

Known Issues

  • vscode.workspace.findFiles does not support extended glob patterns #10851 so Glob package is used instead.

Release Notes

1.0.0

Initial release of the Jest by name


UnnamedXAer

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft