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

Create tests for rendered components #244

Open
mhkeller opened this issue Oct 20, 2024 · 0 comments
Open

Create tests for rendered components #244

mhkeller opened this issue Oct 20, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mhkeller
Copy link
Owner

Currently, the library's JavaScript modules and utilities have tests but we don't have anything that does end-to-end testing of rendered components. This has been fine since the library hasn't changed much over the last few years. But, making sure that the changes in #179 are working properly and also anticipating a full rewrite to using runes, it would be good to have some benchmarks.

I've been looking into some ways to test Svelte components and it seems a bit complicated. I'm thinking the best way to do it would be to look at the LayerCake context for each of the examples on the website and make sure it matches the expected data. Open to ideas and what other people have done in this space.

@mhkeller mhkeller added enhancement New feature or request help wanted Extra attention is needed labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant