Skip to content
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

fix: next cookies mocking #146

Merged
merged 1 commit into from
Sep 11, 2024
Merged

fix: next cookies mocking #146

merged 1 commit into from
Sep 11, 2024

Conversation

gahyuun
Copy link
Member

@gahyuun gahyuun commented Sep 11, 2024

📌 작업 내용

close #141

구현 내용 및 작업 했던 내역

  • storybook에서 sign in test 실패 해결

🤔 고민 했던 부분

  • storybook에서 sign in test가 실패하길래 확인해봤더니
  • next cookies 모킹이 빈 값이다보니 모킹 cookies에 저장된 token값이 빈값이어서 모킹 함수를 수정했습니다.
  • 다른 문제랑 헷갈려서 조금 걸렸네용..ㅎ
  • 이제 크로마틱 성공할 것입니다!!

@gahyuun gahyuun self-assigned this Sep 11, 2024
Copy link

Copy link
Member

@yougyung yougyung 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
Collaborator

@seonghunYang seonghunYang left a comment

Choose a reason for hiding this comment

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

  • 수고하셨습니다!

@gahyuun gahyuun merged commit 3a74266 into main Sep 11, 2024
3 checks passed
@gahyuun gahyuun deleted the fix/storybook-error branch September 11, 2024 12:05
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.

next-header cookies is not working in development mode
3 participants