Skip to content

Commit

Permalink
feat: delay 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
BangDori committed May 10, 2024
1 parent d145227 commit 3d3577b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/mocks/dir/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { errorMessage } from '../consts/error';
const delayTime = Math.random() * 4001;

export async function createHttpSuccessResponse<T>(data: T) {
await delay(delayTime);
// await delay(delayTime);

return HttpResponse.json(
{
Expand All @@ -18,7 +18,7 @@ export async function createHttpSuccessResponse<T>(data: T) {
}

export async function createHttpErrorResponse(code: keyof typeof errorMessage) {
await delay(delayTime);
// await delay(delayTime);

return HttpResponse.json(
{
Expand Down

0 comments on commit 3d3577b

Please sign in to comment.