codeforequity-at / botium-bindings

The Selenium for Chatbots
http://www.botium.at
MIT License
108 stars 33 forks source link

fix: generate correct test framework script in package.json #105

Closed alopix closed 5 years ago

alopix commented 5 years ago

The init script currently generates the package.json script using mocha no matter which test framework option you choose. Also outputs the usage instructions to use mocha. Changed this to always use the provided testRunner argument instead as well as warn, when the script with this name already existed.