-
Notifications
You must be signed in to change notification settings - Fork 180
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 tests #18
Comments
Taking a look at: https://github.com/testing-library/svelte-testing-library Looks promising. |
WIP: #35 |
Also: #37 |
Tests have been started and merged, will update this issue with missing component tests. |
I'm new here, but I'm really happy to contribute. I'd like to know if we could change the folders a little bit. I mean currently we have a
I think this could help to everyone to identify quickly which components has or not test, and if they need to add it 😄 |
Hi @DaniAcu , thanks for the help. The tests thing is a jest standard, so ran with it. Might be better to stick with it since there are already .d.ts files too. Might be a little much 😅 |
Mmm okay, yeah move all sounds too much work to do. Maybe we could just keep it in the eyes but as long as this can scale and be easy to maintain, I'm fine with that. Thanks for the feedback 😄 |
Haven't kept up with Svelte testing best practices, but this project needs unit tests..
Perhaps try out https://github.com/bahmutov/cypress-svelte-unit-test
The text was updated successfully, but these errors were encountered: