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

Add jest watch-typeahead plugin #1908

Closed
serkanyersen opened this issue Jul 20, 2018 · 1 comment
Closed

Add jest watch-typeahead plugin #1908

serkanyersen opened this issue Jul 20, 2018 · 1 comment
Labels
contribution welcome feature request intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: unit-jest

Comments

@serkanyersen
Copy link
Contributor

serkanyersen commented Jul 20, 2018

What problem does this feature solve?

Jest lost it's typeahead mode due to some licensing problem. jestjs/jest#4931

This was a very useful feature for jest. Jest community later brought it back as a plugin https://github.com/jest-community/jest-watch-typeahead

It would be nice if vue-cli jest comes bundled with this plugin.

What does the proposed API look like?

jest-typeahead

it should be as simple as installing the plugin and adding

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

in the jest.config.js file.

I can provide a PR for this is you like.

@haoqunjiang
Copy link
Member

I think it is the time to add this plugin now that jest-community/jest-watch-typeahead#20 is resolved.

@haoqunjiang haoqunjiang added contribution welcome intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. labels Feb 24, 2019
haoqunjiang added a commit to haoqunjiang/vue-cli that referenced this issue Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome feature request intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: unit-jest
Projects
None yet
Development

No branches or pull requests

3 participants