Skip to content

Commit

Permalink
🚚 Move: 파일 재배치
Browse files Browse the repository at this point in the history
- components -> pages로 이동
  • Loading branch information
hdlee0619 committed Jan 16, 2025
1 parent d18c7b2 commit 20aea45
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/advanced/__tests__/advanced.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useState } from "react";
import { describe, expect, test } from "vitest";
import { act, fireEvent, render, screen, within } from "@testing-library/react";
import { CartPage } from "../../refactoring/components/CartPage";
import { AdminPage } from "../../refactoring/components/AdminPage";
import { CartPage } from "../../refactoring/pages/CartPage.tsx";
import { AdminPage } from "../../refactoring/pages/AdminPage.tsx";
import { Coupon, Product } from "../../types";

const mockProducts: Product[] = [
Expand Down
4 changes: 2 additions & 2 deletions src/basic/__tests__/basic.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
screen,
within,
} from "@testing-library/react";
import { CartPage } from "../../refactoring/components/CartPage";
import { AdminPage } from "../../refactoring/components/AdminPage";
import { CartPage } from "../../refactoring/pages/CartPage.tsx";
import { AdminPage } from "../../refactoring/pages/AdminPage.tsx";
import { CartItem, Coupon, Product } from "../../types";
import { useCart, useCoupons, useProducts } from "../../refactoring/hooks";
import * as cartUtils from "../../refactoring/models/cart";
Expand Down
4 changes: 2 additions & 2 deletions src/refactoring/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from "react";
import { CartPage } from "./components/CartPage.tsx";
import { AdminPage } from "./components/AdminPage.tsx";
import { CartPage } from "./pages/CartPage.tsx";
import { AdminPage } from "./pages/AdminPage.tsx";
import { Coupon, Product } from "../types.ts";
import { useCoupons, useProducts } from "./hooks";

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 20aea45

Please sign in to comment.