shakacode / react_on_rails

Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
https://www.shakacode.com/react-on-rails/docs/
MIT License
5.11k stars 630 forks source link

Please add documentation on integrating with Jest #1178

Closed milieu closed 5 years ago

milieu commented 5 years ago

I managed to get it working in the end but it would have been nice to have had an easier experience.

Hopefully what I linked helps someone down the line.

justin808 commented 5 years ago

@milieu Jest is used for testing JS components. The setup should not be specific to React on Rails. What is the specific aspect that requires documentation? Let me know and I'll reopen this PR. Anyway, thanks for contributing.