Skip to content

Regex pattern matches files but doesn't run any tests #47

Open

Description

Hi! 👋

When I enter file pattern mode (p) and enter a regex (for example, .*), the matching files are shown. When I hit return, however, no tests are found.

Here's a quick demo where entering src works, but .* doesn't, even though the file src/__tests__/test.js is listed for both searches:

demo

I made the simplest reproduction I could think of at https://github.com/theneva/jest-watch-typeahead-regex, which is how I made the demo.

Am I missing something, or is this a bug?

This is possibly related to #15 – I couldn't really get my head around that one, since the file listing makes it look like regex searches are indeed supported 😅

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