This adds an npm run test:fuzz command, and closes #8. On encountering an error, the offending code will be written out to test/fixtures/input/_test.js, which is treated specially — if it contains code, then npm test will only try minifying that code until it's able to do so correctly.
This adds an
npm run test:fuzz
command, and closes #8. On encountering an error, the offending code will be written out totest/fixtures/input/_test.js
, which is treated specially — if it contains code, thennpm test
will only try minifying that code until it's able to do so correctly.