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

Fix --testPathPattern escaping for '\\' on Windows #5230

Merged
merged 1 commit into from
Jan 4, 2018
Merged

Fix --testPathPattern escaping for '\\' on Windows #5230

merged 1 commit into from
Jan 4, 2018

Commits on Jan 4, 2018

  1. Fix --testPathPattern escaping for '\\' on Windows

    PR #5054 introduced a regression when handling escaped Windows path
    separators in the `--testPathPattern`. The PR applied the same escaping
    as the "Watch Usage" prompt, which incorrectly escapes `path\\.*file` as
    `path\\\.*file`.
    
    This commit fixes the regular expression used in "Watch Usage" and the
    `--testPathPattern` CLI argument with unit tests.
    seanpoulter committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    c98c84c View commit details
    Browse the repository at this point in the history