Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tests #63

Open
pintariching opened this issue Nov 25, 2022 · 0 comments
Open

Add more tests #63

pintariching opened this issue Nov 25, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@pintariching
Copy link
Owner

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 pintariching added the help wanted Extra attention is needed label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant