Prompt Testing

Add Snapshot Test

Create a snapshot test for UI components.

react
Insert label Snapshot Test
Prompt

Add a snapshot test for this component. Render it with typical props and capture the output. Include variants for different states like loading, empty, and error.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl