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

Trouble finding spec file in specific folder #9

Open
deriegle opened this issue Oct 9, 2018 · 0 comments
Open

Trouble finding spec file in specific folder #9

deriegle opened this issue Oct 9, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@deriegle
Copy link
Owner

deriegle commented Oct 9, 2018

Describe the bug
When you have a folder structure like this:

| components/
    folder1/
       component.js
    folder2/
       component.js
| tests/
    folder1/
       component.test.js
    folder2/
       component.test.js

The extension is not able to find the correct test file, because it only looks at the file name and not the path itself.

To Reproduce
Steps to reproduce the behavior:

  1. Replicate file structure above.
  2. Have one of the component.js files open
  3. Activate the extension

The expected test file may not be found.

Expected behavior
I expect it to open the correct test file in this scenario.

@deriegle deriegle added the bug Something isn't working label Oct 9, 2018
@deriegle deriegle self-assigned this Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant