Skip to content

Support custom async filters #16

Open

Description

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.

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions