Skip to content

Conversation

@mcous
Copy link

@mcous mcous commented Dec 3, 2025

Overview

This PR (finally) follows up on #3 - sorry it took so long! (New job, baby on the way, usual free-time excuses 🙈). It also addresses #19

Note

The @testing-library/svelte-core is still in pre-release while I run it through its paces.
I'll keep this PR as a draft until the stable v1 is released

Details

This PR introduces @testing-library/svelte-core as a dependency. This module has no dependencies other than a peer dependency on Svelte, and is the rendering and cleanup logic extracted from @testing-library/svelte, without any reliance on @testing-library/dom

Adding this dependency allows the removal of all the soft-fork code

Follow up work

After this PR, it might be worth updating the build process of this module to build types with tsc or tsup instead of keeping the types files in sync by hand - or maybe even switching the module to TS. Let me know if that's something that would be helpful for me to put up a PR for!

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.

1 participant