Skip to content

Commit cf84075

Browse files
committed
style: fix indentation on test fetch wrapper comments
oxfmt missed the leading-tab indentation inside the undici @ts-expect-error comment block when it was first introduced; reformat so the comment lines align with the surrounding tuple entries.
1 parent bdb869a commit cf84075

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

__tests__/openai.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ describe("OpenAI", () => {
2929
fetch: (input, init) =>
3030
undiciFetch(
3131
// @ts-expect-error @types/node resolves fetch types via undici-types@7, but we
32-
// import undici@8 directly — Request.headers.keys() iterator types diverge.
33-
// Fix: remove when @types/node ships undici-types@8
32+
// import undici@8 directly — Request.headers.keys() iterator types diverge.
33+
// Fix: remove when @types/node ships undici-types@8
3434
input,
3535
{ ...init, dispatcher: mockAgent },
3636
),

__tests__/petstore.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ describe("Petstore", () => {
3131
fetch: (input, init) =>
3232
undiciFetch(
3333
// @ts-expect-error @types/node resolves fetch types via undici-types@7, but we
34-
// import undici@8 directly — Request.headers.keys() iterator types diverge.
35-
// Fix: remove when @types/node ships undici-types@8
34+
// import undici@8 directly — Request.headers.keys() iterator types diverge.
35+
// Fix: remove when @types/node ships undici-types@8
3636
input,
3737
{ ...init, dispatcher: mockAgent },
3838
),

__tests__/test1.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ describe("Test1", () => {
3939
fetch: (input, init) =>
4040
undiciFetch(
4141
// @ts-expect-error @types/node resolves fetch types via undici-types@7, but we
42-
// import undici@8 directly — Request.headers.keys() iterator types diverge.
43-
// Fix: remove when @types/node ships undici-types@8
42+
// import undici@8 directly — Request.headers.keys() iterator types diverge.
43+
// Fix: remove when @types/node ships undici-types@8
4444
input,
4545
{ ...init, dispatcher: mockAgent },
4646
),

0 commit comments

Comments
 (0)