-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
[NEXT] tests: added tests for path-utils #984
Conversation
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.
It requires more tests
|
||
describe("path-utils tests", () => { | ||
it("isLocalPath Testing : __dirname", () => { | ||
const answer = isLocalPath(join(__dirname, "../../")); |
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.
You should test this against different formats:
- ./path
- path/path
- ..\path (win)
And also you should test the error cases
@anikethsaha Thanks for your update. I labeled the Pull Request so reviewers will review it again. @ematipico Please review the new changes. |
@anikethsaha Please review the following output log for errors:
See complete report here. |
I have submitted a PR #999 regarding the @ematipico @evenstensberg PTAL |
We cannot merge anything before the tests are passing, so we need to fix those first |
What kind of change does this PR introduce?
Tests
Did you add tests for your changes?
Yes
If relevant, did you update the documentation?
NA
Summary
Added tests for
path-utils
Does this PR introduce a breaking change?
No
Other information
NA