-
Notifications
You must be signed in to change notification settings - Fork 33
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: fix auto-cleanup tests #371
Conversation
7406070
to
b9a6131
Compare
@yanick did you get a chance to check this PR out? I'd like to get it in so I can move forward on adding Jest to the matrix |
If we export it explicitly, we might want to give it a more meaningful name. |
I’d like to move away from the |
Just to echo the other issue thread, my preference is to have the default import points to the latest supported svelte version, and have the possibility to load the specific versions via |
Should we move this particular discussion to #284 and maybe include some actual users of the library? I don't want the larger strategy discussion to derail the rather small changes of this PR and #374, where we've been talking about it thus far
No longer applicable for this PR; removed the export |
Shoot, I missed that #328 removed the testing-library re-exports from Figured it would be easier to abandon |
pure
module is exported
@yanick since this has been up for a couple weeks - and I've pared it down to tests only - I'm going to merge it to move forward on adding Jest to the CI matrix unless you have any additional thoughts |
🎉 This PR is included in version 5.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Overview
Our auto-cleanup tests were implemented as a snapshot test. The snapshot was wrong, so these tests were passing erroneously. This PR fixes the test, removing all snapshot tests from the codebase.
A previous iteration of this PR tried to fix up the
pure
export, which used to exist to skip auto-cleanup. It was more broken by recent refactors than I realized, so instead I used this PR to abandon the export. A comment was updated accordingly.Change log
./pure
export condition