From 3c6198be59fb54852602af447ae7dab6055cf83a Mon Sep 17 00:00:00 2001 From: JWJung-99 <39busy@naver.com> Date: Fri, 20 Dec 2024 17:16:23 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20DimmedModal=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Dimmedmodal.test.tsx | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/Dimmedmodal.test.tsx diff --git a/tests/Dimmedmodal.test.tsx b/tests/Dimmedmodal.test.tsx new file mode 100644 index 0000000..d90d94f --- /dev/null +++ b/tests/Dimmedmodal.test.tsx @@ -0,0 +1,64 @@ +import useModal from '@hooks/useModal'; +import DimmedModal from '@pages/Studio/components/DimmedModal'; +import { render, screen } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { SwiperSlide } from 'swiper/react'; +import { describe } from 'vitest'; + +const TestPage = () => { + const { open } = useModal(1); + + return ( +