Closed killagu closed 1 week ago
The recent update introduces modifications to the HttpAgent.ts
file, where the CheckAddressFunction
type now includes an additional hostname
parameter. This change impacts the method calls for checkAddress
within the HttpAgent
class. Correspondingly, a new test case has been added in HttpClient.test.ts
to validate hostname functionality.
Files | Change Summary |
---|---|
src/HttpAgent.ts |
Updated CheckAddressFunction type to include hostname parameter and adjusted related calls. |
test/HttpClient.test.ts |
Added a new test case to verify the hostname validation within the HttpClient class. |
A hostname now joins the game,
To check addresses, a new acclaim.
HttpAgent stands tall and bright,
With added tests, it takes flight.
A little change, a code delight,
Ensuring all works just right.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Run & review this pull request in StackBlitz Codeflow.
commit: f7bc9bb
``` npm i https://pkg.pr.new/node-modules/urllib@525 ```
- [default](https://pkg.pr.new/template/819ff526-dc5b-497d-8c44-ca1c2e230c7b)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.86%. Comparing base (
cbb06e7
) to head (f7bc9bb
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
Tests