Skip to content

Commit 40ddad6

Browse files
committed
Fix lint:prettier errors
1 parent b5183e9 commit 40ddad6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/openapi-fetch/test/index.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,9 @@ describe("client", () => {
937937
const req = fetchMocker.mock.calls[0][0];
938938
// note: this is FormData, but Node.js doesn’t handle new Request() properly with formData bodies. So this is only in tests.
939939
expect(req.body).toBeInstanceOf(Buffer);
940-
expect((req.headers as Headers).get("Content-Type")).toBe("text/plain;charset=UTF-8");
940+
expect((req.headers as Headers).get("Content-Type")).toBe(
941+
"text/plain;charset=UTF-8",
942+
);
941943
});
942944

943945
// Node Requests eat credentials (no cookies), but this works in frontend

packages/openapi-fetch/test/v7-beta.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,9 @@ describe("client", () => {
946946
const req = fetchMocker.mock.calls[0][0];
947947
// note: this is FormData, but Node.js doesn’t handle new Request() properly with formData bodies. So this is only in tests.
948948
expect(req.body).toBeInstanceOf(Buffer);
949-
expect((req.headers as Headers).get("Content-Type")).toBe("text/plain;charset=UTF-8");
949+
expect((req.headers as Headers).get("Content-Type")).toBe(
950+
"text/plain;charset=UTF-8",
951+
);
950952
});
951953

952954
// Node Requests eat credentials (no cookies), but this works in frontend

0 commit comments

Comments
 (0)