mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
style: apply prettier across the tree
One-shot prettier pass so the new format:check gate starts from a clean baseline. Formatting only — no behaviour change. Generator-owned and vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -127,7 +127,10 @@ describe("isPinKnown — change detection", () => {
|
||||
describe("resolveAppTlsTarget", () => {
|
||||
it("prefers APP_URL over NEXT_PUBLIC_APP_URL", () => {
|
||||
expect(
|
||||
resolveAppTlsTarget("https://app.example.com", "https://other.example.com"),
|
||||
resolveAppTlsTarget(
|
||||
"https://app.example.com",
|
||||
"https://other.example.com",
|
||||
),
|
||||
).toEqual({ host: "app.example.com", port: 443 });
|
||||
});
|
||||
|
||||
@@ -139,9 +142,9 @@ describe("resolveAppTlsTarget", () => {
|
||||
});
|
||||
|
||||
it("honours an explicit https port", () => {
|
||||
expect(resolveAppTlsTarget("https://app.example.com:8443", undefined)).toEqual(
|
||||
{ host: "app.example.com", port: 8443 },
|
||||
);
|
||||
expect(
|
||||
resolveAppTlsTarget("https://app.example.com:8443", undefined),
|
||||
).toEqual({ host: "app.example.com", port: 8443 });
|
||||
});
|
||||
|
||||
it("skips a plain-HTTP origin (no leaf to pin)", () => {
|
||||
|
||||
Reference in new issue
Block a user