webpack.js.org
webpack.js.org copied to clipboard
Add documentation about writing tests in "Writing a Plugin"
Feature to document
I recently created a plugin, but I can't manage to add tests to it. And it's a very important thing to have.
I'd like to request an official documentation that explains how to set up the tests when writing a plugin, accompanied by some examples. My preference is Jest, but feel free to use any other testing framework.
Author(s)
none
Additional information
[x] I am willing to work on this issue and submit a pull request. (I'm open to contribute, but I don't know how to set up the tests 😅)
Like you test other tools, run compilation and compare output based on what your plugin do