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

Support custom async filters #16

Open
rogeliog opened this issue Jul 6, 2018 · 0 comments
Open

Support custom async filters #16

rogeliog opened this issue Jul 6, 2018 · 0 comments

Comments

@rogeliog
Copy link
Member

rogeliog commented Jul 6, 2018

This would be the second iteration of #15, once we generalize the typeahead code enough we can support custom async filters.

"watchPlugins": [
    ["jest-watch-typeahead/filename", {
        "key": "k",
        "prompt": "filter by files containing @tag",
        "filter": "<rootDir>/myFilter.js"
    }]
],

This would mean that the consumer can inject their business logic for dealing with the typeahead and we provide a great typeahead infrastructure that handles debouncing, loading indicator, etc.

@rogeliog rogeliog mentioned this issue Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant