-
Notifications
You must be signed in to change notification settings - Fork 295
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: include rootPath of virtual folders in testPathPattern value #1080
fix: include rootPath of virtual folders in testPathPattern value #1080
Conversation
49bf971
to
1ab486c
Compare
Pull Request Test Coverage Report for Build 6531456082
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akwodkiewicz, Thanks for the PR! The change looks good, but let's create some tests to safeguard this use case.
Sure thing. I wanted to ask for help in how to write them, but I think I'll be able to pull off a unit test for |
This commit's purpose is to separate the code style changes from the actual modifications (new tests) added in the next commit.
5079dd8
to
7c93a19
Compare
The PR is ready for another review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the tests.
This PR fixes #1079 by using:
VirtualWorkspaceFolder.effectiveUri
(including virtual's folderrootPath
)instead of:
VirtualWorkspaceFolder.uri
(which points to the actual workspace folder)when creating test items from folders in
WorkspaceRoot