Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
โ€ฆ4-touroot into feature/fe/#534
  • Loading branch information
0jenn0 committed Oct 23, 2024
2 parents 39d5a9a + 0b3b3ee commit bd5ef40
Show file tree
Hide file tree
Showing 131 changed files with 25,640 additions and 3,333 deletions.
7 changes: 5 additions & 2 deletions frontend/__tests__/travelPlanRegisterPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const REGISTER_TRAVEL_PLAN = {
lng: 126.977,
},
description: "์กฐ์„  ์‹œ๋Œ€์— ์ง€์–ด์ง„ ๋‹ค์„ฏ ๊ฐœ์˜ ๊ถ๊ถ ์ค‘ ๊ฐ€์žฅ ํฐ ๊ถ๊ถ์ž…๋‹ˆ๋‹ค.",
countryCode: "kr",
},
],
},
Expand Down Expand Up @@ -113,13 +114,14 @@ describe("์—ฌํ–‰ ๊ณ„ํš ๋“ฑ๋ก ํŽ˜์ด์ง€ ํ…Œ์ŠคํŠธ", () => {
test("์‚ฌ์šฉ์ž๋Š” 1์ผ์ฐจ์— '๊ฒฝ๋ณต๊ถ'์ด๋ผ๋Š” ์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋‹ค.", () => {
// given
const { result } = renderHook(() => useTravelPlanDays([]));
const newPlace: Pick<TravelPlanPlace, "placeName" | "position" | "todos"> = {
const newPlace: Pick<TravelPlanPlace, "placeName" | "position" | "todos" | "countryCode"> = {
placeName: "๊ฒฝ๋ณต๊ถ",
position: {
lat: 37.5796,
lng: 126.977,
},
todos: [],
countryCode: "kr",
};

// when
Expand All @@ -139,13 +141,14 @@ describe("์—ฌํ–‰ ๊ณ„ํš ๋“ฑ๋ก ํŽ˜์ด์ง€ ํ…Œ์ŠคํŠธ", () => {
test("์‚ฌ์šฉ์ž๋Š” ์ถ”๊ฐ€ํ•œ ๊ฒฝ๋ณต๊ถ์„ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋‹ค.", () => {
// given
const { result } = renderHook(() => useTravelPlanDays([]));
const newPlace: Pick<TravelPlanPlace, "placeName" | "position" | "todos"> = {
const newPlace: Pick<TravelPlanPlace, "placeName" | "position" | "todos" | "countryCode"> = {
placeName: "๊ฒฝ๋ณต๊ถ",
position: {
lat: 37.5796,
lng: 126.977,
},
todos: [],
countryCode: "kr",
};

// when
Expand Down
Loading

0 comments on commit bd5ef40

Please sign in to comment.