I’m thinking about creating a module providing some testing configuration. The plugin would work with Jest, allowing to unit test components, vuex stores, plugins… The whole configuration will be already done, and developers would just have to include it.
But, before getting started, I’d like some information :
- Is such plugin welcome ? Or do you plan to support testing natively in Nuxt ?
- The plugin would provide a testing script, is it possible from a module to extend the Nuxt scripts (And provide
nuxt testfor exemple) ?
For now, I implemented some testing setup here : https://github.com/antoinerey/nuxt-jest
Edit: The more I think about it, the more I feel like it’d be better to make a vue-cli plugin. What do you think ?