jasikpark / fuzz-prettier-plugin-astro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deprecated, replaced by https://github.com/jasikpark/fuzz-prettier

I do need to add the use unit tests as corpus feature though.

required dependencies:

clone the prettier-plugin-astro repo next to this repo so that we can access fixtures in ../prettier-plugin-astro/tests/fixtures...

make sure prettier and prettier-plugin-astro are up-to-date

run ./fuzz-prettier-plugin-astro.sh until you get a crash

to reduce a test case:

./run_multi_delta.sh

and it'll make a backup of tmp/input.astro and then reduce the case

to test whether an input file has a bug, run ./test_input.sh $FILENAME, ex ./test_input.sh tmp/input.astro

About


Languages

Language:Astro 69.9%Language:Shell 30.1%