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
|
8 | 9540 | June 19, 2021 | |
Add a doc about unit testing Stimulus controllers
|
1 | 1899 | May 25, 2022 | |
Testing Stimulus, Jest | 4 | 3971 | July 18, 2023 | |
New Package: Stimulus Typescript
|
0 | 311 | October 20, 2023 | |
Unit Testing as part of Stimulusjs
|
0 | 1063 | April 27, 2018 |