| ... | @@ -17,7 +17,6 @@ import { | ... | @@ -17,7 +17,6 @@ import { |
| 17 | connectCloudEnvironment, | 17 | connectCloudEnvironment, |
| 18 | listCloudEnvironments, | 18 | listCloudEnvironments, |
| 19 | listCloudEnvironmentsWithStatus, | 19 | listCloudEnvironmentsWithStatus, |
| 20 | normalizeRelayBaseUrl, | | |
| 21 | refreshCloudEnvironmentConnection, | 20 | refreshCloudEnvironmentConnection, |
| 22 | } from "./linkEnvironment"; | 21 | } from "./linkEnvironment"; |
| 23 | | 22 | |
| ... | @@ -195,13 +194,6 @@ describe("mobile cloud link environment client", () => { | ... | @@ -195,13 +194,6 @@ describe("mobile cloud link environment client", () => { |
| 195 | loadPreferences.mockClear(); | 194 | loadPreferences.mockClear(); |
| 196 | }); | 195 | }); |
| 197 | | 196 | |
| 198 | it("normalizes configured relay base URLs before building DPoP-bound requests", () => { | | |
| 199 | expect(normalizeRelayBaseUrl(" https://relay.example.test/// ")).toBe( | | |
| 200 | "https://relay.example.test", | | |
| 201 | ); | | |
| 202 | expect(normalizeRelayBaseUrl(" ")).toBeNull(); | | |
| 203 | }); | | |
| 204 | | | |
| 205 | it("makes linked environments visible while their status is still loading", () => { | 197 | it("makes linked environments visible while their status is still loading", () => { |
| 206 | expect(cloudEnvironmentsPendingStatus([listedEnvironment("env-1")])).toMatchObject([ | 198 | expect(cloudEnvironmentsPendingStatus([listedEnvironment("env-1")])).toMatchObject([ |
| 207 | { | 199 | { |