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:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

+6 -4
View File
@@ -36,7 +36,9 @@ describe("redactSecrets", () => {
);
// v1.12.2 — one-time WHOOP connect ticket in the connect URL.
expect(
redactSecrets("GET /api/whoop/connect?ticket=abc_DEF-123&return_scheme=x"),
redactSecrets(
"GET /api/whoop/connect?ticket=abc_DEF-123&return_scheme=x",
),
).toBe("GET /api/whoop/connect?ticket=[REDACTED]&return_scheme=x");
});
@@ -165,9 +167,9 @@ describe("redactSecrets", () => {
it("preserves query strings after the secret segment", () => {
// Note: the existing query-string rule then redacts the
// `?secret=…` payload too; both layers compose.
expect(
redactSecrets("/api/withings/webhook/test-secret?retries=2"),
).toBe("/api/withings/webhook/[REDACTED]?retries=2");
expect(redactSecrets("/api/withings/webhook/test-secret?retries=2")).toBe(
"/api/withings/webhook/[REDACTED]?retries=2",
);
});
it("redacts an absolute URL form (origin + path-segment secret)", () => {
-1
View File
@@ -32,4 +32,3 @@ export async function withBackgroundEvent<T>(
}
});
}