I wanted to test stimulus using jest, so I incorporated some of the information I found on here and in the stimulus repository into a NPM package. I hope it can help others who want to use jest to test stimulus controllers.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Testing Stimulus
|
9 | 10684 | September 20, 2024 | |
Add a doc about unit testing Stimulus controllers
|
2 | 2663 | September 20, 2024 | |
Testing Stimulus, Jest | 5 | 4423 | November 28, 2024 | |
New Package: Stimulus Typescript
|
0 | 423 | October 20, 2023 | |
Unit Testing as part of Stimulusjs
|
0 | 1132 | April 27, 2018 |