Closed aljones15 closed 1 year ago
Exports ky's HTTPError class so it can be asserted on in tests.
HTTPError
By using this with error.should.be.instanceOf(HTTPError) we catch errors in this library that could produce false negative tests.
error.should.be.instanceOf(HTTPError)
Closing as we can assert on properties of HTTPError
Exports ky's
HTTPError
class so it can be asserted on in tests.By using this with
error.should.be.instanceOf(HTTPError)
we catch errors in this library that could produce false negative tests.