ackama / rails-template

Application template for Rails 7 projects; preloaded with best practices for TDD, security, deployment, and developer productivity.
Other
306 stars 17 forks source link

feat: setup `jest` in Stimulus variants #465

Closed G-Rath closed 1 year ago

G-Rath commented 1 year ago

This should make it easier to write tests directly for Stimulus controllers (and JavaScript in general) which can be nice as they're faster than the current alternative (system tests).

G-Rath commented 1 year ago

can we have this also with the installed github actions ci checks? i think bin/ci-run is only for testing when in this repo

Yup that's tracked by #422 but I want to do it in another PR

G-Rath commented 1 year ago

tbh I feel like this should be pulled into either its own variants or into the frontend-base variants, but this is still an improvement 🤷