cloudinary-community / cloudinary-community/next-cloudinary
[Feature] Tests for CldImage component
- Dominant language
- JavaScript
- Stars
- 300
- Forks
- 137
- Avg merge
- 4m
- Merged PRs (30d)
- 4
Description
## **Feature Request**
## **Is your feature request related to a problem? Please describe.**
We should have some tests revolving around the CldImage
## **Describe the solution you'd like**
The tests should not test the Next.js Image component, rather it should be testing logic inside of the CldImage and the wrapping implementation.
Try to avoid crossover where tests should be focused on the functionality the specific feature is providing
Do we need an additional testing tool for React for this on top of Jest?
Contributor guide
Research direction
Locate the CldImage component and its wrapping implementation, then review the existing Jest setup and current tests. Add tests for CldImage-specific logic without testing Next.js Image itself, and ensure the wrapping behavior is covered without unnecessary crossover.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nextjs, react
- Domain
- frontend, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100