question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

Support shorthand notation for jest-watch-<plugin_name>

See original GitHub issue

๐Ÿš€ Feature Proposal

Allow config to resolve watchPlugins: ['typeahead/filename', 'other'] to jest-watch-<plugin_name>

Motivation

Most of Jest Watch plugins are prefixed by jest-watch it would be great to support this shorthand version.

This should be similar to how ESLint support plugins: ["jest"] for eslint-plugin-jest

Example

watchPlugins: ['typeahead/filenames', 'typeahead/testname', 'master'],

would be the same as

watchPlugins: [
  'jest-watch-typeahead/filenames',
  'jest-watch-typeahead/testname',
  'jest-watch-master',
]

Pitch

This would provide a better experience when using watch plugins. Iโ€™m happy to put a PR for this.

PS: We should do the same for runners eslint -> jest-runner-eslint

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rogeliogcommented, Oct 18, 2018

@SimenB you are awesome! ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘, this means that I might get to it during this week.

0reactions
github-actions[bot]commented, May 12, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

grammar: Shorthand notation for object literals - CanIUse
"Can I use" provides up-to-date browser support tables for support of front-end web ... Feature: grammar: Shorthand notation for object literals.
Read more >
Shorthand notation for addressing parent - IBM
Sterling Configurator Visual Modeler allows you to use shorthand notation for addressing parent elements in rules. Use the '+' symbol to address parent...
Read more >
Is there a shorthand notation for this operation? - Stack Overflow
Is there no shorthand notation like /= for this operation in C? int variable = 5; variable = round(variable / (float)2);.
Read more >
Registry Editor gets address bar shorthand notation support
In Windows 10 build 14965, you can use shorthand notation for HKEY_* root key names. They are as follows: HKEY_CURRENT_USER = HKCU. HKEY_ย ......
Read more >
Fast track to hierarchical shorthand notation for lipid mass ...
Aim: Find correct shorthand notation for lipid data fitting validated MS-output. Hierarchical concept: Depending on the resolution power of the MS-basedย ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found