bounswe / 2021SpringGroup5

4 stars 4 forks source link

Writing unit test for Apply Event #682

Closed umutgun17 closed 2 years ago

umutgun17 commented 2 years ago

I will write unit test for the apply event

umutgun17 commented 2 years ago

I checked these links to learn testing on react.

https://testing-library.com/docs/react-testing-library/intro/ https://www.youtube.com/watch?v=6wbnwsKrnYU&ab_channel=TheNetNinja https://isagul.medium.com/react-uygulamalar%C4%B1nda-unit-testing-964db75398f

umutgun17 commented 2 years ago

I wrote unit test with post mock data

I tested to apply an event with input values

you can see the test file here