Skip to content

Commit 2e04bc2

Browse files
committed
fix: fmt
1 parent 4c8176a commit 2e04bc2

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

src/api/apiClient/apiClient.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ describe("apiClient", () => {
120120
),
121121
);
122122

123-
await expect(
124-
apiClient.postsPostIdDelete({ postId: 1 }),
125-
).rejects.toThrow(ResponseError);
123+
await expect(apiClient.postsPostIdDelete({ postId: 1 })).rejects.toThrow(
124+
ResponseError,
125+
);
126126
});
127127
});
128128
});

src/utils/debounce/debounce.test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,13 +1151,12 @@ describe(debounce, () => {
11511151
};
11521152

11531153
// 1 回目の trailing 実行中だけ再帰呼び出しする
1154-
callback.mockImplementationOnce(function recursingImpl(
1155-
this: { value: number },
1156-
step,
1157-
) {
1158-
spy(this.value, step);
1159-
obj.update(2);
1160-
});
1154+
callback.mockImplementationOnce(
1155+
function recursingImpl(this: { value: number }, step) {
1156+
spy(this.value, step);
1157+
obj.update(2);
1158+
},
1159+
);
11611160

11621161
obj.update(1);
11631162
vi.advanceTimersByTime(100);

0 commit comments

Comments
 (0)