browserstack / nightwatch-browserstack

Selenium examples for Nightwatch and BrowserStack Automate
https://www.browserstack.com
77 stars 62 forks source link

Removes unneeded require in local tests #17

Closed tharnach closed 7 years ago

tharnach commented 7 years ago

Please correct me if I'm wrong, but I don't think the local tests are using the browserstack-local import/require at the top. I was able to run both local and parallel_local without them, so this PR is to remove them. Two reasons for this: First, as example code, it is a bit confusing to those learning this (me). Second, anyone using eslint will get a 'no-unused-vars' error.