chaijs / chai-http

HTTP Response assertions for the Chai Assertion Library.
http://chaijs.com/plugins/chai-http
634 stars 113 forks source link

Added auth example with Bearer Token #282

Closed keyuls closed 3 years ago

keyuls commented 3 years ago

chai-http supports Authorization with Bearer Token. But, this feature is not mentioned anywhere on the site or readme file. This would be useful for many developers & Tester.

Ref: https://github.com/chaijs/chai-http/blob/master/dist/chai-http.js#L3359

austince commented 3 years ago

Update: ~will merge it right after #283 so we have something to test the CI fix with.~ I'll just merge this now, as CI is taking longer than I hoped.

keyuls commented 3 years ago

Thanks @austince

Do you know when will this change reflect on https://www.chaijs.com/plugins/chai-http/ page?

austince commented 3 years ago

I'm actually not sure how that homepage is updated -- @keithamus will know.

keithamus commented 3 years ago

Should be updated nightly.