test: verify read-only workspace secret flow

This commit is contained in:
2026-08-14 18:05:28 +02:00
parent ab33e0ed0a
commit bd42aa5934
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ test("constructs diagnostic URLs only when the resolved URL remains on the servi
expect(resolveDiagnosticUrl).toBeTypeOf("function");
expect((resolveDiagnosticUrl as (baseUrl: string, path: string) => URL)("https://service.example/base", "/rpc/ping"))
.toMatchObject({ href: "https://service.example/rpc/ping" });
.toMatchObject({ href: "https://service.example/base/rpc/ping" });
expect(() => (resolveDiagnosticUrl as (baseUrl: string, path: string) => URL)(
"https://service.example/base", "//diagnostic.invalid/rpc",
)).toThrow(/origin/i);