Add Test for statusCodeCard
M0nica opened this issue · 1 comments
M0nica commented
- Use the react-testing-library https://testing-library.com/docs/react-testing-library/intro
- Write a unit test for
statusCodeCard
that ensures that the statusCodeCard when the status code for 100 contains an image link toimages/100.gif
and links tohttps://httpstatuses.com/100
https://github.com/M0nica/httriri/blob/main/components/statusCodeCard.tsx