rustle icon indicating copy to clipboard operation
rustle copied to clipboard

Add more tests

Open pintariching opened this issue 2 years ago • 0 comments

More tests would probably be a good idea. Maybe making a folder structure and having different files like input.svelte, expected.js and output.js in a folder for every test, then use walkdir to traverse all the folders and compile the files and check if they're the same as the expected.js. Also adding test for checking if the AST has been parse correctly for a variety of different situations would probably be nice.

pintariching avatar Nov 25 '22 14:11 pintariching