diff --git a/src/http/httpError.test.ts b/src/http/httpError.test.ts index 189b9f0..de8db94 100644 --- a/src/http/httpError.test.ts +++ b/src/http/httpError.test.ts @@ -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(