made with react.js

React Screenshot Test

Screenshot Tests for React Components

Visit Site

Description

Screenshot Tests for React Components

"A dead simple library to screenshot test React components. All you need is to install react-screenshot-test and configure Jest.

You can then generate screenshots with jest -c jest.screenshot.config.js -u, just like you would with Jest snapshots.

Under the hood, we start a local server which renders components server-side. Each component is given its own dedicated page (e.g. /render/my-component). Then we use Puppeteer to take a screenshot of that page."


Creator

François Wouts
@fwouts


Social Media Links

React AB Simple declarative and universal A/B testing component
icon-eye-dark Created with Sketch. 478
Sentry for React React Error Tracking
icon-eye-dark Created with Sketch. 117
React Testing Library DOM Testing Utilities
icon-eye-dark Created with Sketch. 89
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
React Hooks Testing Library Hooks Testing Utilities
icon-eye-dark Created with Sketch. 116
COMMUNITY SPONSORS