We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398563b commit f186577Copy full SHA for f186577
test/client.js
@@ -27,6 +27,7 @@ describe('client_test', function () {
27
const badClient = new strava.client(BAD_TOKEN)
28
try {
29
await badClient.athlete.get({})
30
+ should.fail('Expected athlete.get to reject with StatusCodeError')
31
} catch (err) {
32
should(err).be.instanceOf(StatusCodeError)
33
should(err.statusCode).equal(401)
0 commit comments