cssinjs / cssinjs/jss

[react-jss] Testing components with styles.

Open
#804 12 comments 0 reactions 0 assignees View on GitHub
complexity:moderate feature request important
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

_From @kof on June 5, 2017 20:35_

Motivation: when you snapshot components with jest, you can also snapshot css generated by the component. Ideally this should also work with styled-jss. Also we should support testing generated CSS without jest.

See for e.g. https://github.com/styled-components/jest-styled-components/

_Copied from original issue: cssinjs/react-jss#93_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.