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

[BUG] testPathDirs with 0 matches #1568

Closed
audetpascale opened this issue Sep 1, 2016 · 2 comments
Closed

[BUG] testPathDirs with 0 matches #1568

audetpascale opened this issue Sep 1, 2016 · 2 comments

Comments

@audetpascale
Copy link

Bug

Version

Jest 15.1.0
Node v4.4.7
NPM 3.10.6
Windows 10

Current behavior

Since the update to Jest 15, no more tests are found.

Steps to reproduce

  • Reproducible on any project with Jest.

  • Add a dash in your path, e.g. C:\idea\myproject replaced to C:\idea\my-project

  • Then execute npm test.

    No tests found
    ...
    testPathDirs: C:\idea\my-project - 0 matches
    

Expected behavior

The tests are found.

Debug mode

Here is the relevant info...

  "testPathDirs": [
    "C:\\idea\\my-project"
  ]

The dash is not escaped.

Note

Probably related to this pull request...

@audetpascale
Copy link
Author

Duplicate: 1567 1551

Sorry about it.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant