Skip to content

[URH-32] 테스트 환경 셋팅 신규 #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 19, 2024
Merged

Conversation

foresec
Copy link
Collaborator

@foresec foresec commented Jul 16, 2024

👾 Pull Request

  • 작업명: 테스트 환경 셋팅
  • 상태: 신규

1️⃣ Spec

  • jest.config.ts : jest 기본 설정 파일
  • jest.setup.ts : test 실행전 사전 실행되는 설정 파일
  • tsconfig.spec.json : 테스트 환경을 설정하기 위한 config파일

2️⃣ 변경 사항

  • 개발환경에 다수의 추가사항이 있으니 npm i 필수로 실행해주세요
  • 테스트코드 작성완료를 위해 src/hooks/useWindowSize.ts에서 저번에 커밋되지 못한 delayTime 0 포함 조건이 이번에 함께 수정되었습니다

3️⃣ 예시 코드

  • useWindowSize.test.ts : test 작동예시로 작성한 코드입니다

4️⃣ 관련 문서 (선택 사항)

@foresec foresec self-assigned this Jul 16, 2024
Copy link
Member

@Choozii Choozii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

와우우웅 혼자 해버리셨군요 😱 넘나 수고하셨습니다

Copy link
Member

@jeongbaebang jeongbaebang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트코드까지 작성하셨군요 대단합니다 👍

@foresec foresec removed request for seobew, rukeni and bicochan July 19, 2024 11:35
@foresec foresec changed the title Urh 32/test setting [URH-32] 테스트 환경 셋팅 Jul 19, 2024
@foresec foresec changed the title [URH-32] 테스트 환경 셋팅 [URH-32] 테스트 환경 셋팅 신규 Jul 19, 2024
@foresec foresec merged commit f00f7bd into master Jul 19, 2024
@foresec foresec deleted the URH-32/test-setting branch July 19, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants