hawkins / prettier-webpack-plugin

Process your Webpack dependencies with Prettier
https://travis-ci.org/hawkins/prettier-webpack-plugin
50 stars 14 forks source link

Build a proper test suite #6

Closed hawkins closed 7 years ago

hawkins commented 7 years ago

I wrote the bulk of this when I should have been in a class's test study session, so I neglected proper tests.

Currently, tests utilize existing global installs of webpack, prettier; this means tests may result in different outcomes across different systems.

So, I think its best if the project move to testing via a tool like Jest.

To do this:

Then, the test suite should:

hawkins commented 7 years ago

I plan to tackle this next, but as I'm working full time and working to launch a startup whilst also job hunting, this naturally may be a bit slow 😅

By the way, this repo has seen an increased amount of traffic lately - If you're reading this, any and all contributions are welcome! So if you're even interested to write a single test or just fix a typo, I'd love to help you any way I can.