hxf31891 / react-gradient-color-picker

An easy to use color/gradient picker for React.js
MIT License
147 stars 49 forks source link

Add a Jest setup #16

Closed jourdanrodrigues closed 2 years ago

jourdanrodrigues commented 2 years ago

Issues

Closes #14 Closes #9 (was removed right after it was merged)

Description

This is solely to get the structure in and start raising the questions/patterns around it. Included a few unit tests around pure functions to kickstart. We can increment the structure later on by introducing RTL to test component rendering, but would be an overkill for this PR.

hxf31891 commented 2 years ago

@jourdanrodrigues Thanks for putting this together, I think it is a great idea. The project has gotten a lot more attention than I initially expected and it is probably passed time to start putting some of these things in place. Appreciate the help and looking forward to getting everything updated.