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

Jestでテストを書ける環境を構築 #23

Merged
merged 7 commits into from Jun 8, 2023

Conversation

keitakn
Copy link
Member

@keitakn keitakn commented Jun 6, 2023

issueURL

#5

この PR で対応する範囲 / この PR で対応しない範囲

Jest + @testing-library/react を使って簡単なテストが書ける状態まで対応する。

この時点では全てのComponentに対するテストコードは追加しない。

Storybook の URL、 スクリーンショット

今回UI変更は発生しないのでなし。

変更点概要

Jestの基本設定と @testing-library/react などのライブラリを追加。

動作確認の為、もっともシンプルなComponentである src/app/chat/_components/ChatContent/ChatHeader.tsx のテストコードを追加。

レビュアーに重点的にチェックして欲しい点

特になし

補足情報

特になし

@keitakn keitakn self-assigned this Jun 6, 2023
@keitakn keitakn marked this pull request as ready for review June 8, 2023 09:04
@keitakn keitakn merged commit 0a0d93d into main Jun 8, 2023
4 checks passed
@keitakn keitakn deleted the feature/issue5/add-jest-settings branch June 8, 2023 09:09
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.

None yet

1 participant