Skip to content

Commit

Permalink
fixup! fixup! Add support for relative URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Jul 2, 2024
1 parent 32bac35 commit bcff853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/httpError.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ describe("ClientHttpError", () => {

it("supports relative URLs for type and instance", () => {
const responseUrl = "https://example.org/resource";
const relativeTypeUrl = "../type";
const relativeInstanceUrl = "../instance";
const relativeTypeUrl = "/type";
const relativeInstanceUrl = "/instance";
const response = mockResponse();
const { problemDetails: mockedProblemDetails } = mockProblemDetails({});
const error = new ClientHttpError(
Expand Down

0 comments on commit bcff853

Please sign in to comment.