From e9084ee918782c7b64b9258baf7e74cfd58ff1ec Mon Sep 17 00:00:00 2001 From: jjinheeWorld Date: Mon, 19 Jan 2026 15:43:09 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A8=20Refactor=20:=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=ED=8F=B4=EB=8D=94=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/components/{ => common}/list/ListItem.test.tsx | 0 tests/components/{ => common}/list/ListItemButton.test.tsx | 0 tests/components/{ => common}/list/ListItemRow.test.tsx | 0 tests/components/{ => common}/progress/progressView.test.tsx | 0 .../features}/dashboard/dashboard.test.tsx | 0 tests/{unit => components/features}/goals/goals.test.tsx | 0 .../{ => features}/navigation/navigationLogout.test.tsx | 0 .../{ => features}/notes/NoteCreateContainer.test.tsx | 0 .../{ => features}/notes/NoteDetailContent.test.tsx | 0 .../{ => features}/notes/NoteEditContainer.test.tsx | 0 tests/components/{ => features}/notes/NoteList.test.tsx | 0 .../{ => features}/notes/NoteListContainer.test.tsx | 0 tests/components/{ => features}/todos/todoFormFile.test.tsx | 0 tests/components/{ => features}/todos/todoFormModal.test.tsx | 0 tests/components/{ => features}/todos/todos.test.tsx | 0 tests/{unit => hooks}/auth/useLogout.test.tsx | 0 tests/{unit => }/utils/validation/validateEmail.test.ts | 2 +- tests/{unit => }/utils/validation/validateLogin.test.ts | 4 ++-- tests/{unit => }/utils/validation/validateName.test.ts | 2 +- tests/{unit => }/utils/validation/validatePassword.test.ts | 2 +- tests/{unit => }/utils/validation/validateSignup.test.ts | 4 ++-- 21 files changed, 7 insertions(+), 7 deletions(-) rename tests/components/{ => common}/list/ListItem.test.tsx (100%) rename tests/components/{ => common}/list/ListItemButton.test.tsx (100%) rename tests/components/{ => common}/list/ListItemRow.test.tsx (100%) rename tests/components/{ => common}/progress/progressView.test.tsx (100%) rename tests/{unit => components/features}/dashboard/dashboard.test.tsx (100%) rename tests/{unit => components/features}/goals/goals.test.tsx (100%) rename tests/components/{ => features}/navigation/navigationLogout.test.tsx (100%) rename tests/components/{ => features}/notes/NoteCreateContainer.test.tsx (100%) rename tests/components/{ => features}/notes/NoteDetailContent.test.tsx (100%) rename tests/components/{ => features}/notes/NoteEditContainer.test.tsx (100%) rename tests/components/{ => features}/notes/NoteList.test.tsx (100%) rename tests/components/{ => features}/notes/NoteListContainer.test.tsx (100%) rename tests/components/{ => features}/todos/todoFormFile.test.tsx (100%) rename tests/components/{ => features}/todos/todoFormModal.test.tsx (100%) rename tests/components/{ => features}/todos/todos.test.tsx (100%) rename tests/{unit => hooks}/auth/useLogout.test.tsx (100%) rename tests/{unit => }/utils/validation/validateEmail.test.ts (91%) rename tests/{unit => }/utils/validation/validateLogin.test.ts (90%) rename tests/{unit => }/utils/validation/validateName.test.ts (92%) rename tests/{unit => }/utils/validation/validatePassword.test.ts (93%) rename tests/{unit => }/utils/validation/validateSignup.test.ts (92%) diff --git a/tests/components/list/ListItem.test.tsx b/tests/components/common/list/ListItem.test.tsx similarity index 100% rename from tests/components/list/ListItem.test.tsx rename to tests/components/common/list/ListItem.test.tsx diff --git a/tests/components/list/ListItemButton.test.tsx b/tests/components/common/list/ListItemButton.test.tsx similarity index 100% rename from tests/components/list/ListItemButton.test.tsx rename to tests/components/common/list/ListItemButton.test.tsx diff --git a/tests/components/list/ListItemRow.test.tsx b/tests/components/common/list/ListItemRow.test.tsx similarity index 100% rename from tests/components/list/ListItemRow.test.tsx rename to tests/components/common/list/ListItemRow.test.tsx diff --git a/tests/components/progress/progressView.test.tsx b/tests/components/common/progress/progressView.test.tsx similarity index 100% rename from tests/components/progress/progressView.test.tsx rename to tests/components/common/progress/progressView.test.tsx diff --git a/tests/unit/dashboard/dashboard.test.tsx b/tests/components/features/dashboard/dashboard.test.tsx similarity index 100% rename from tests/unit/dashboard/dashboard.test.tsx rename to tests/components/features/dashboard/dashboard.test.tsx diff --git a/tests/unit/goals/goals.test.tsx b/tests/components/features/goals/goals.test.tsx similarity index 100% rename from tests/unit/goals/goals.test.tsx rename to tests/components/features/goals/goals.test.tsx diff --git a/tests/components/navigation/navigationLogout.test.tsx b/tests/components/features/navigation/navigationLogout.test.tsx similarity index 100% rename from tests/components/navigation/navigationLogout.test.tsx rename to tests/components/features/navigation/navigationLogout.test.tsx diff --git a/tests/components/notes/NoteCreateContainer.test.tsx b/tests/components/features/notes/NoteCreateContainer.test.tsx similarity index 100% rename from tests/components/notes/NoteCreateContainer.test.tsx rename to tests/components/features/notes/NoteCreateContainer.test.tsx diff --git a/tests/components/notes/NoteDetailContent.test.tsx b/tests/components/features/notes/NoteDetailContent.test.tsx similarity index 100% rename from tests/components/notes/NoteDetailContent.test.tsx rename to tests/components/features/notes/NoteDetailContent.test.tsx diff --git a/tests/components/notes/NoteEditContainer.test.tsx b/tests/components/features/notes/NoteEditContainer.test.tsx similarity index 100% rename from tests/components/notes/NoteEditContainer.test.tsx rename to tests/components/features/notes/NoteEditContainer.test.tsx diff --git a/tests/components/notes/NoteList.test.tsx b/tests/components/features/notes/NoteList.test.tsx similarity index 100% rename from tests/components/notes/NoteList.test.tsx rename to tests/components/features/notes/NoteList.test.tsx diff --git a/tests/components/notes/NoteListContainer.test.tsx b/tests/components/features/notes/NoteListContainer.test.tsx similarity index 100% rename from tests/components/notes/NoteListContainer.test.tsx rename to tests/components/features/notes/NoteListContainer.test.tsx diff --git a/tests/components/todos/todoFormFile.test.tsx b/tests/components/features/todos/todoFormFile.test.tsx similarity index 100% rename from tests/components/todos/todoFormFile.test.tsx rename to tests/components/features/todos/todoFormFile.test.tsx diff --git a/tests/components/todos/todoFormModal.test.tsx b/tests/components/features/todos/todoFormModal.test.tsx similarity index 100% rename from tests/components/todos/todoFormModal.test.tsx rename to tests/components/features/todos/todoFormModal.test.tsx diff --git a/tests/components/todos/todos.test.tsx b/tests/components/features/todos/todos.test.tsx similarity index 100% rename from tests/components/todos/todos.test.tsx rename to tests/components/features/todos/todos.test.tsx diff --git a/tests/unit/auth/useLogout.test.tsx b/tests/hooks/auth/useLogout.test.tsx similarity index 100% rename from tests/unit/auth/useLogout.test.tsx rename to tests/hooks/auth/useLogout.test.tsx diff --git a/tests/unit/utils/validation/validateEmail.test.ts b/tests/utils/validation/validateEmail.test.ts similarity index 91% rename from tests/unit/utils/validation/validateEmail.test.ts rename to tests/utils/validation/validateEmail.test.ts index 39bda34..a85423d 100644 --- a/tests/unit/utils/validation/validateEmail.test.ts +++ b/tests/utils/validation/validateEmail.test.ts @@ -1,4 +1,4 @@ -import { validateEmail } from "../../../../src/utils/validation/fields/validateEmail"; +import { validateEmail } from "@/utils/validation/fields/validateEmail"; describe("이메일 유효성 검사", () => { it("이메일이 비어 있으면 에러 메시지를 반환한다", () => { diff --git a/tests/unit/utils/validation/validateLogin.test.ts b/tests/utils/validation/validateLogin.test.ts similarity index 90% rename from tests/unit/utils/validation/validateLogin.test.ts rename to tests/utils/validation/validateLogin.test.ts index 225d33f..4c0e89d 100644 --- a/tests/unit/utils/validation/validateLogin.test.ts +++ b/tests/utils/validation/validateLogin.test.ts @@ -1,5 +1,5 @@ -import { LoginFormValues } from "../../../../src/types/authForm"; -import { validateLogin } from "../../../../src/utils/validation/forms/validateLogin"; +import { LoginFormValues } from "@/types/authForm"; +import { validateLogin } from "@/utils/validation/forms/validateLogin"; const createValues = ( override: Partial = {}, diff --git a/tests/unit/utils/validation/validateName.test.ts b/tests/utils/validation/validateName.test.ts similarity index 92% rename from tests/unit/utils/validation/validateName.test.ts rename to tests/utils/validation/validateName.test.ts index c43aea5..f995fc9 100644 --- a/tests/unit/utils/validation/validateName.test.ts +++ b/tests/utils/validation/validateName.test.ts @@ -1,4 +1,4 @@ -import { validateName } from "../../../../src/utils/validation/fields/validateName"; +import { validateName } from "@/utils/validation/fields/validateName"; describe("이름 유효성 검사", () => { it("비어 있으면 에러 메시지를 반환한다", () => { diff --git a/tests/unit/utils/validation/validatePassword.test.ts b/tests/utils/validation/validatePassword.test.ts similarity index 93% rename from tests/unit/utils/validation/validatePassword.test.ts rename to tests/utils/validation/validatePassword.test.ts index 6a79d4b..1cf193b 100644 --- a/tests/unit/utils/validation/validatePassword.test.ts +++ b/tests/utils/validation/validatePassword.test.ts @@ -1,4 +1,4 @@ -import { validatePassword } from "../../../../src/utils/validation/fields/validatePassword"; +import { validatePassword } from "../../../src/utils/validation/fields/validatePassword"; describe("비밀번호 유효성 검사", () => { it("비어 있으면 에러 메시지를 반환한다", () => { diff --git a/tests/unit/utils/validation/validateSignup.test.ts b/tests/utils/validation/validateSignup.test.ts similarity index 92% rename from tests/unit/utils/validation/validateSignup.test.ts rename to tests/utils/validation/validateSignup.test.ts index c57b9d4..ae79f97 100644 --- a/tests/unit/utils/validation/validateSignup.test.ts +++ b/tests/utils/validation/validateSignup.test.ts @@ -1,5 +1,5 @@ -import { SignupFormValues } from "../../../../src/types/authForm"; -import { validateSignup } from "../../../../src/utils/validation/forms/validateSignup"; +import { SignupFormValues } from "@/types/authForm"; +import { validateSignup } from "@/utils/validation/forms/validateSignup"; const createValues = ( override: Partial = {}, From 2fb060d883b91fbaee957a76e16054223ff1a7a4 Mon Sep 17 00:00:00 2001 From: jjinheeWorld Date: Mon, 19 Jan 2026 16:34:50 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A8=20Refactor=20:=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=EB=AA=85=20=ED=8C=8C=EC=8A=A4=EC=B9=BC=20?= =?UTF-8?q?=EC=BC=80=EC=9D=B4=EC=8A=A4=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/progress/{progressView.test.tsx => Progress.test.tsx} | 0 .../dashboard/{dashboard.test.tsx => DashboardPage.test.tsx} | 0 .../features/goals/{goals.test.tsx => GoalsPage.test.tsx} | 0 .../todos/{todoFormFile.test.tsx => AttachmentSection.test.tsx} | 0 .../todos/{todoFormModal.test.tsx => TodoFormContent.test.tsx} | 0 .../features/todos/{todos.test.tsx => TodosPage.test.tsx} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename tests/components/common/progress/{progressView.test.tsx => Progress.test.tsx} (100%) rename tests/components/features/dashboard/{dashboard.test.tsx => DashboardPage.test.tsx} (100%) rename tests/components/features/goals/{goals.test.tsx => GoalsPage.test.tsx} (100%) rename tests/components/features/todos/{todoFormFile.test.tsx => AttachmentSection.test.tsx} (100%) rename tests/components/features/todos/{todoFormModal.test.tsx => TodoFormContent.test.tsx} (100%) rename tests/components/features/todos/{todos.test.tsx => TodosPage.test.tsx} (100%) diff --git a/tests/components/common/progress/progressView.test.tsx b/tests/components/common/progress/Progress.test.tsx similarity index 100% rename from tests/components/common/progress/progressView.test.tsx rename to tests/components/common/progress/Progress.test.tsx diff --git a/tests/components/features/dashboard/dashboard.test.tsx b/tests/components/features/dashboard/DashboardPage.test.tsx similarity index 100% rename from tests/components/features/dashboard/dashboard.test.tsx rename to tests/components/features/dashboard/DashboardPage.test.tsx diff --git a/tests/components/features/goals/goals.test.tsx b/tests/components/features/goals/GoalsPage.test.tsx similarity index 100% rename from tests/components/features/goals/goals.test.tsx rename to tests/components/features/goals/GoalsPage.test.tsx diff --git a/tests/components/features/todos/todoFormFile.test.tsx b/tests/components/features/todos/AttachmentSection.test.tsx similarity index 100% rename from tests/components/features/todos/todoFormFile.test.tsx rename to tests/components/features/todos/AttachmentSection.test.tsx diff --git a/tests/components/features/todos/todoFormModal.test.tsx b/tests/components/features/todos/TodoFormContent.test.tsx similarity index 100% rename from tests/components/features/todos/todoFormModal.test.tsx rename to tests/components/features/todos/TodoFormContent.test.tsx diff --git a/tests/components/features/todos/todos.test.tsx b/tests/components/features/todos/TodosPage.test.tsx similarity index 100% rename from tests/components/features/todos/todos.test.tsx rename to tests/components/features/todos/TodosPage.test.tsx