mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +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
@@ -315,7 +315,9 @@ describe("verb helpers", () => {
|
||||
await apiPost(
|
||||
"/api/foo",
|
||||
{ a: 1 },
|
||||
{ headers: new Headers({ "Content-Type": "application/json-patch+json" }) },
|
||||
{
|
||||
headers: new Headers({ "Content-Type": "application/json-patch+json" }),
|
||||
},
|
||||
);
|
||||
|
||||
const [, init] = fetchMock.mock.calls[0] as [string, RequestInit];
|
||||
|
||||
@@ -2,7 +2,11 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { readError } from "../read-error";
|
||||
|
||||
function makeResponse(body: unknown, status: number, opts?: { invalidJson?: boolean }): Response {
|
||||
function makeResponse(
|
||||
body: unknown,
|
||||
status: number,
|
||||
opts?: { invalidJson?: boolean },
|
||||
): Response {
|
||||
if (opts?.invalidJson) {
|
||||
return new Response("<<not json>>", {
|
||||
status,
|
||||
|
||||
Reference in new issue
Block a user