Add more tests
Opened this issue · 0 comments
pintariching commented
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.