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

feat: revert "use test safe transitions" #6405

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Feb 12, 2025

Motivation

Revert #6396 because thanks to a different way of mocking the transitions for test purposes (without vite), those workaround are not needed anymore when migrating to Svelte v5.

Resources

New solution to mock the animation for test purposes with Svelte v5 providing by Testing Library in testing-library/svelte-testing-library#284 (comment)

Changes

Revert #6396

Tests

I tested the revert and new way of mocking with Svelte v5 in #6404. The tests did not throw the keyword TypeError: Cannot set properties of undefined (setting 'onfinish').

@peterpeterparker peterpeterparker requested a review from a team as a code owner February 12, 2025 07:48
Copy link
Contributor

@dskloetd dskloetd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@peterpeterparker peterpeterparker added this pull request to the merge queue Feb 12, 2025
Merged via the queue into main with commit 61e9fbe Feb 12, 2025
32 checks passed
@peterpeterparker peterpeterparker deleted the feat/revert-use-test-safe-transitions branch February 12, 2025 08:53
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