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
mocha.path option should be used to find the tests #127
Conversation
…the tests mocha.path option should be treated as relative to the workspace root folder
I'm not sure sometimes you wish to use global mocha. |
btw on which configuration you run sidebar for typescript there is an open issue about running mocha sidebar with typescript. but I haven't looked at it yet |
Hi,
Regarding your concern that sometimes people want to use global mocha, I can modify the code to use path.isAbsolute to check if the configuration really is relative or an absolute path |
Consider mocha.oath config relative to workspace only if a relative path has been specified
I have updated the code, please review |
hi, did you get a chance to review this (adoption of sidebar extension in my team is blocked on this issue, I hope you understand :)) |
Hi, did you get a chance to review this? |
Yep I think about it coz I'm not sure if it's the correct way for handling
this .
Is there something u can't do with the current code ?
…On Tue, Jul 24, 2018, 1:57 PM Amit Mittal ***@***.***> wrote:
Hi, did you get a chance to review this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE_nubIez4NnVXJ5C-lkfS3ibjFsuILVks5uJv2NgaJpZM4VQvPi>
.
|
Yes, without this change I am not able to specify relative path to 'local' mocha installation. My patch is just 'completing' the functionality of mocha.path setting. |
Interestingly, documentation for mocha.path suggests that user can provide relative path. |
Hi @maty21 , Any update on this please? |
I'll will try my best to solve it o know your PR is open for a pretty long
time and I hope to find the way for fixing it for the next couple of weeks
…On Fri, Dec 21, 2018, 9:50 AM Amit Mittal ***@***.***> wrote:
Hi @maty21 <https://github.com/maty21> , Any update on this please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE_nua2fZj0Zogj1YDfaOaMm4ymwn9UXks5u7JLagaJpZM4VQvPi>
.
|
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.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
mocha.path option should be treated as relative to the workspace root folder
This change is