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

test(e2e): add simple Svelte 5 suite #284

Merged
merged 14 commits into from
Jun 10, 2024

Conversation

mcous
Copy link
Contributor

@mcous mcous commented May 20, 2024

This PR is a companion #283. It adds a simple Svelte 5 test suite to the repository's e2e directory. For now, Svelte 5 module tests are skipped, because they require #283 to pass

When run locally on my machine, this suite passes against master. This is a bit unexpected to me, given that I can't get Svelte 5 to work properly with @testing-library/svelte-testing-library#375. Putting this PR up to aid investigation!

Update: it looks like it a build issue! Running Svelte 5 E2E tests locally now properly fails after 6a51913

@mcous mcous marked this pull request as ready for review May 23, 2024 14:59
@sebastianrothe
Copy link
Collaborator

Sorry, I'm still buried in work. It is passing now, I hope to get to it on the weekend.

@mcous
Copy link
Contributor Author

mcous commented May 30, 2024

No worries, let me know if there's any way I can help lighten the load!

For context, I'd like to land testing-library/svelte-testing-library#375 soon for "proper" Svelte 5 support (i.e. without using Svelte's legacy wrappers) in testing-library, but this would break Jest without svelte-jester support, so I'm holding off for the time being until we can land #284 and #283 here. This definitely isn't a fire while Svelte is still pushing v5 on its prerelease next tag

@sebastianrothe sebastianrothe self-assigned this Jun 10, 2024
@sebastianrothe sebastianrothe merged commit 96ee087 into svelteness:master Jun 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants