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

jest-function generates invalid jest command line #5

Closed
gaetano-guerriero opened this issue Jul 7, 2019 · 1 comment · Fixed by #16
Closed

jest-function generates invalid jest command line #5

gaetano-guerriero opened this issue Jul 7, 2019 · 1 comment · Fixed by #16

Comments

@gaetano-guerriero
Copy link
Contributor

gaetano-guerriero commented Jul 7, 2019

When jest--current-defun finds a function jest is called with a command line like jest file.test.js::functionName. To my understanding the :: syntax is unknown to jest so matching tests will never be found. jest --testNamePattern=<regex> should be used instead.

@edmundmiller
Copy link
Owner

@gaetano-guerriero I think that's residual from emacs-python-pytest. I'll see about changing that or you can submit a PR for the specific change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants