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

Test fails if folder name contains parenthesis #4467

Closed
qasimalyas opened this issue Sep 12, 2017 · 1 comment
Closed

Test fails if folder name contains parenthesis #4467

qasimalyas opened this issue Sep 12, 2017 · 1 comment

Comments

@qasimalyas
Copy link

I understand this is probably an edge case but would be nice to have this resolved.

Do you want to request a feature or report a bug?
Report a bug.

What is the current behavior?
If a folder name contains parenthesis ( ) then tests fail.
image

A similar issue was reported #1462 and #1551.

If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.

  1. Download the repo
  2. Rename main folder from jesting-test- to jesting (test)
  3. npm install and run npm test on Windows 10. You should get the error mentioned above.

What is the expected behavior?
To pass the test. Simply remove the parenthesis and run the test again. It should pass as expected.
image

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Node v7.10.0
NPM v4.2.0
Jest v21.0.2 (default configuration)
Windows 10 (Version: 1607, OS Build: 14393.1593)

@cpojer
Copy link
Member

cpojer commented Sep 12, 2017

Duplicate of #2381

@cpojer cpojer marked this as a duplicate of #2381 Sep 12, 2017
@cpojer cpojer closed this as completed Sep 12, 2017
@jestjs jestjs locked and limited conversation to collaborators Sep 12, 2017
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

2 participants