bitovi / testee-client

Testee client adapters for QUnit, Jasmine and Mocha
https://www.npmjs.com/package/testee-client
MIT License
1 stars 1 forks source link

Failed connections reject with (undefined) data instead of error #38

Closed bmomberger-bitovi closed 7 years ago

bmomberger-bitovi commented 7 years ago

Re: https://github.com/bitovi/testee-client/blob/master/src/runner.js#L23

This has been leading to many unhandled promise rejections with undefined instead of anything helpful, and it was hard to track down. Shouldn't this reject with error when there is an error?

andrejewski commented 7 years ago

This has been resolved in a more recent rewrite, see https://github.com/bitovi/testee-client/blob/01cf177b4bbf99b87e2fe1a5fecd9300a3053949/src/runner.js#L19.