Relative Content

Tag Archive for javascriptreactjsnext.jsreact-testing-libraryshadcnui

Testing ShadCN Select with Jest and React testing Library [duplicate]

This question already has an answer here: Need help unit testing Select from shadcn/ui (1 answer) Closed 10 days ago. I have a ShadCN Select component that is abstracted into a CustomSelect component for reusability. I am trying to test the click functionality of the options and assert the text content on the Select button […]