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 unit tests when contributing on Windows 10 #3891
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3891 +/- ##
=======================================
Coverage 98.57% 98.57%
=======================================
Files 153 153
Lines 3434 3434
Branches 749 749
=======================================
Hits 3385 3385
Misses 44 44
Partials 5 5 Continue to review full report at Codecov.
|
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.
👍
* junit-reporter: updated documentation to reflect current options * junit-reporter: remove console log lines * junit-reporter: allow reporter to work with runner that has multiple suites * junit-report: fix nested and multiple describe blocks * wdio-sauce-service: update unit test * wdio-junit-reporter: add unit test to cover error options * fix unit tests for windows
Proposed changes
I have changed some unit test expect statements to use regex to account for file system differences, \ vs / and \ vs /. I contribute using a Windows machine and was getting annoyed with a bunch of tests failing. These changes will make the tests agnostic of windows/mac/linux.
Types of changes
Checklist
Reviewers: @webdriverio/technical-committee