Closed sdotson closed 3 years ago
Hi @sdotson
Thank you for your contribution to the testcafe-browser-provider-saucelabs
module. We will review it.
We'll be happy to accept this pull request, but we need to see your tests first. Would you please add a unit test similar to this one, which checks whether the passed file with the SauceLabs capabilities was parsed successfully?
@wentwrong good idea! I went ahead and added unit tests. Also did a light refactor to abstract that out to a new method to make that easier to test.
Updated! Thanks for the reviews everybody.
See https://github.com/DevExpress/testcafe-browser-provider-saucelabs/issues/74 for more details.